home *** CD-ROM | disk | FTP | other *** search
/ MacGames Sampler / PHT MacGames Bundle.iso / MacSource Folder / Samples from the CD / Editors / emacs / Emacs-1.14b1 / lisp / ada.elc < prev    next >
MacBinary  |  1994-02-14  |  16.5 KB  |  [dELC/EMAC]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) ext Unsupported
100% file MacBinary II, inited, Sun Feb 13 21:00:56 1994, modified Sun Feb 13 21:00:56 1994, creator 'EMAC', type 'dELC', 16382 bytes "ada.elc" Emacs v18 byte-compiled Lisp data, at 0x407e 316 bytes resource Emacs v18 byte-compiled Lisp data default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[dELC]
macFileCreator[EMAC]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 07 61 64 61 2e 65 6c | 63 00 00 00 00 00 00 00 |..ada.el|c.......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 64 45 4c 43 45 4d 41 | 43 01 00 00 00 00 00 00 |.dELCEMA|C.......|
|00000050| 00 00 00 00 00 3f fe 00 | 00 01 3c a9 84 8b d8 a9 |.....?..|..<.....|
|00000060| 84 8b d8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 18 cd 00 00 |........|........|
|00000080| 0a 28 73 65 74 71 20 61 | 75 74 6f 2d 6d 6f 64 65 |.(setq a|uto-mode|
|00000090| 2d 61 6c 69 73 74 20 28 | 63 6f 6e 73 20 28 63 6f |-alist (|cons (co|
|000000a0| 6e 73 20 22 5c 5c 2e 61 | 64 61 24 22 20 28 71 75 |ns "\\.a|da$" (qu|
|000000b0| 6f 74 65 20 61 64 61 2d | 6d 6f 64 65 29 29 20 61 |ote ada-|mode)) a|
|000000c0| 75 74 6f 2d 6d 6f 64 65 | 2d 61 6c 69 73 74 29 29 |uto-mode|-alist))|
|000000d0| 0a 0a 28 64 65 66 76 61 | 72 20 61 64 61 2d 6d 6f |..(defva|r ada-mo|
|000000e0| 64 65 2d 73 79 6e 74 61 | 78 2d 74 61 62 6c 65 20 |de-synta|x-table |
|000000f0| 6e 69 6c 20 22 5c 0a 53 | 79 6e 74 61 78 20 74 61 |nil "\.S|yntax ta|
|00000100| 62 6c 65 20 69 6e 20 75 | 73 65 20 69 6e 20 41 64 |ble in u|se in Ad|
|00000110| 61 2d 6d 6f 64 65 20 62 | 75 66 66 65 72 73 2e 22 |a-mode b|uffers."|
|00000120| 29 0a 0a 28 6c 65 74 20 | 28 28 74 61 62 6c 65 20 |)..(let |((table |
|00000130| 28 6d 61 6b 65 2d 73 79 | 6e 74 61 78 2d 74 61 62 |(make-sy|ntax-tab|
|00000140| 6c 65 29 29 29 20 28 6d | 6f 64 69 66 79 2d 73 79 |le))) (m|odify-sy|
|00000150| 6e 74 61 78 2d 65 6e 74 | 72 79 20 39 35 20 22 5f |ntax-ent|ry 95 "_|
|00000160| 22 20 74 61 62 6c 65 29 | 20 28 6d 6f 64 69 66 79 |" table)| (modify|
|00000170| 2d 73 79 6e 74 61 78 2d | 65 6e 74 72 79 20 33 35 |-syntax-|entry 35|
|00000180| 20 22 5f 22 20 74 61 62 | 6c 65 29 20 28 6d 6f 64 | "_" tab|le) (mod|
|00000190| 69 66 79 2d 73 79 6e 74 | 61 78 2d 65 6e 74 72 79 |ify-synt|ax-entry|
|000001a0| 20 34 30 20 22 28 29 22 | 20 74 61 62 6c 65 29 20 | 40 "()"| table) |
|000001b0| 28 6d 6f 64 69 66 79 2d | 73 79 6e 74 61 78 2d 65 |(modify-|syntax-e|
|000001c0| 6e 74 72 79 20 34 31 20 | 22 29 28 22 20 74 61 62 |ntry 41 |")(" tab|
|000001d0| 6c 65 29 20 28 6d 6f 64 | 69 66 79 2d 73 79 6e 74 |le) (mod|ify-synt|
|000001e0| 61 78 2d 65 6e 74 72 79 | 20 33 36 20 22 2e 22 20 |ax-entry| 36 "." |
|000001f0| 74 61 62 6c 65 29 20 28 | 6d 6f 64 69 66 79 2d 73 |table) (|modify-s|
|00000200| 79 6e 74 61 78 2d 65 6e | 74 72 79 20 34 32 20 22 |yntax-en|try 42 "|
|00000210| 2e 22 20 74 61 62 6c 65 | 29 20 28 6d 6f 64 69 66 |." table|) (modif|
|00000220| 79 2d 73 79 6e 74 61 78 | 2d 65 6e 74 72 79 20 34 |y-syntax|-entry 4|
|00000230| 37 20 22 2e 22 20 74 61 | 62 6c 65 29 20 28 6d 6f |7 "." ta|ble) (mo|
|00000240| 64 69 66 79 2d 73 79 6e | 74 61 78 2d 65 6e 74 72 |dify-syn|tax-entr|
|00000250| 79 20 34 33 20 22 2e 22 | 20 74 61 62 6c 65 29 20 |y 43 "."| table) |
|00000260| 28 6d 6f 64 69 66 79 2d | 73 79 6e 74 61 78 2d 65 |(modify-|syntax-e|
|00000270| 6e 74 72 79 20 34 35 20 | 22 2e 22 20 74 61 62 6c |ntry 45 |"." tabl|
|00000280| 65 29 20 28 6d 6f 64 69 | 66 79 2d 73 79 6e 74 61 |e) (modi|fy-synta|
|00000290| 78 2d 65 6e 74 72 79 20 | 36 31 20 22 2e 22 20 74 |x-entry |61 "." t|
|000002a0| 61 62 6c 65 29 20 28 6d | 6f 64 69 66 79 2d 73 79 |able) (m|odify-sy|
|000002b0| 6e 74 61 78 2d 65 6e 74 | 72 79 20 33 38 20 22 2e |ntax-ent|ry 38 ".|
|000002c0| 22 20 74 61 62 6c 65 29 | 20 28 6d 6f 64 69 66 79 |" table)| (modify|
|000002d0| 2d 73 79 6e 74 61 78 2d | 65 6e 74 72 79 20 31 32 |-syntax-|entry 12|
|000002e0| 34 20 22 2e 22 20 74 61 | 62 6c 65 29 20 28 6d 6f |4 "." ta|ble) (mo|
|000002f0| 64 69 66 79 2d 73 79 6e | 74 61 78 2d 65 6e 74 72 |dify-syn|tax-entr|
|00000300| 79 20 36 30 20 22 2e 22 | 20 74 61 62 6c 65 29 20 |y 60 "."| table) |
|00000310| 28 6d 6f 64 69 66 79 2d | 73 79 6e 74 61 78 2d 65 |(modify-|syntax-e|
|00000320| 6e 74 72 79 20 36 32 20 | 22 2e 22 20 74 61 62 6c |ntry 62 |"." tabl|
|00000330| 65 29 20 28 6d 6f 64 69 | 66 79 2d 73 79 6e 74 61 |e) (modi|fy-synta|
|00000340| 78 2d 65 6e 74 72 79 20 | 39 31 20 22 2e 22 20 74 |x-entry |91 "." t|
|00000350| 61 62 6c 65 29 20 28 6d | 6f 64 69 66 79 2d 73 79 |able) (m|odify-sy|
|00000360| 6e 74 61 78 2d 65 6e 74 | 72 79 20 39 33 20 22 2e |ntax-ent|ry 93 ".|
|00000370| 22 20 74 61 62 6c 65 29 | 20 28 6d 6f 64 69 66 79 |" table)| (modify|
|00000380| 2d 73 79 6e 74 61 78 2d | 65 6e 74 72 79 20 31 32 |-syntax-|entry 12|
|00000390| 33 20 22 2e 22 20 74 61 | 62 6c 65 29 20 28 6d 6f |3 "." ta|ble) (mo|
|000003a0| 64 69 66 79 2d 73 79 6e | 74 61 78 2d 65 6e 74 72 |dify-syn|tax-entr|
|000003b0| 79 20 31 32 35 20 22 2e | 22 20 74 61 62 6c 65 29 |y 125 ".|" table)|
|000003c0| 20 28 6d 6f 64 69 66 79 | 2d 73 79 6e 74 61 78 2d | (modify|-syntax-|
|000003d0| 65 6e 74 72 79 20 34 36 | 20 22 2e 22 20 74 61 62 |entry 46| "." tab|
|000003e0| 6c 65 29 20 28 6d 6f 64 | 69 66 79 2d 73 79 6e 74 |le) (mod|ify-synt|
|000003f0| 61 78 2d 65 6e 74 72 79 | 20 39 32 20 22 2e 22 20 |ax-entry| 92 "." |
|00000400| 74 61 62 6c 65 29 20 28 | 6d 6f 64 69 66 79 2d 73 |table) (|modify-s|
|00000410| 79 6e 74 61 78 2d 65 6e | 74 72 79 20 35 38 20 22 |yntax-en|try 58 "|
|00000420| 2e 22 20 74 61 62 6c 65 | 29 20 28 6d 6f 64 69 66 |." table|) (modif|
|00000430| 79 2d 73 79 6e 74 61 78 | 2d 65 6e 74 72 79 20 35 |y-syntax|-entry 5|
|00000440| 39 20 22 2e 22 20 74 61 | 62 6c 65 29 20 28 6d 6f |9 "." ta|ble) (mo|
|00000450| 64 69 66 79 2d 73 79 6e | 74 61 78 2d 65 6e 74 72 |dify-syn|tax-entr|
|00000460| 79 20 33 39 20 22 2e 22 | 20 74 61 62 6c 65 29 20 |y 39 "."| table) |
|00000470| 28 6d 6f 64 69 66 79 2d | 73 79 6e 74 61 78 2d 65 |(modify-|syntax-e|
|00000480| 6e 74 72 79 20 33 34 20 | 22 5c 22 22 20 74 61 62 |ntry 34 |"\"" tab|
|00000490| 6c 65 29 20 28 73 65 74 | 71 20 61 64 61 2d 6d 6f |le) (set|q ada-mo|
|000004a0| 64 65 2d 73 79 6e 74 61 | 78 2d 74 61 62 6c 65 20 |de-synta|x-table |
|000004b0| 74 61 62 6c 65 29 29 0a | 0a 28 64 65 66 76 61 72 |table)).|.(defvar|
|000004c0| 20 61 64 61 2d 6d 6f 64 | 65 2d 6d 61 70 20 6e 69 | ada-mod|e-map ni|
|000004d0| 6c 20 22 5c 0a 4b 65 79 | 6d 61 70 20 75 73 65 64 |l "\.Key|map used|
|000004e0| 20 69 6e 20 41 64 61 20 | 6d 6f 64 65 2e 22 29 0a | in Ada |mode.").|
|000004f0| 0a 28 6c 65 74 20 28 28 | 6d 61 70 20 28 6d 61 6b |.(let ((|map (mak|
|00000500| 65 2d 73 70 61 72 73 65 | 2d 6b 65 79 6d 61 70 29 |e-sparse|-keymap)|
|00000510| 29 29 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 6d |)) (defi|ne-key m|
|00000520| 61 70 20 22 0d 22 20 28 | 71 75 6f 74 65 20 61 64 |ap "." (|quote ad|
|00000530| 61 2d 6e 65 77 6c 69 6e | 65 29 29 20 28 64 65 66 |a-newlin|e)) (def|
|00000540| 69 6e 65 2d 6b 65 79 20 | 6d 61 70 20 22 7f 22 20 |ine-key |map "." |
|00000550| 28 71 75 6f 74 65 20 62 | 61 63 6b 77 61 72 64 2d |(quote b|ackward-|
|00000560| 64 65 6c 65 74 65 2d 63 | 68 61 72 2d 75 6e 74 61 |delete-c|har-unta|
|00000570| 62 69 66 79 29 29 20 28 | 64 65 66 69 6e 65 2d 6b |bify)) (|define-k|
|00000580| 65 79 20 6d 61 70 20 22 | 09 22 20 28 71 75 6f 74 |ey map "|." (quot|
|00000590| 65 20 61 64 61 2d 74 61 | 62 29 29 20 28 64 65 66 |e ada-ta|b)) (def|
|000005a0| 69 6e 65 2d 6b 65 79 20 | 6d 61 70 20 22 03 09 22 |ine-key |map ".."|
|000005b0| 20 28 71 75 6f 74 65 20 | 61 64 61 2d 75 6e 74 61 | (quote |ada-unta|
|000005c0| 62 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |b)) (def|ine-key |
|000005d0| 6d 61 70 20 22 03 3c 22 | 20 28 71 75 6f 74 65 20 |map ".<"| (quote |
|000005e0| 61 64 61 2d 62 61 63 6b | 77 61 72 64 2d 74 6f 2d |ada-back|ward-to-|
|000005f0| 73 61 6d 65 2d 69 6e 64 | 65 6e 74 29 29 20 28 64 |same-ind|ent)) (d|
|00000600| 65 66 69 6e 65 2d 6b 65 | 79 20 6d 61 70 20 22 03 |efine-ke|y map ".|
|00000610| 3e 22 20 28 71 75 6f 74 | 65 20 61 64 61 2d 66 6f |>" (quot|e ada-fo|
|00000620| 72 77 61 72 64 2d 74 6f | 2d 73 61 6d 65 2d 69 6e |rward-to|-same-in|
|00000630| 64 65 6e 74 29 29 20 28 | 64 65 66 69 6e 65 2d 6b |dent)) (|define-k|
|00000640| 65 79 20 6d 61 70 20 22 | 03 68 22 20 28 71 75 6f |ey map "|.h" (quo|
|00000650| 74 65 20 61 64 61 2d 68 | 65 61 64 65 72 29 29 20 |te ada-h|eader)) |
|00000660| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 6d 61 70 20 |(define-|key map |
|00000670| 22 03 28 22 20 28 71 75 | 6f 74 65 20 61 64 61 2d |".(" (qu|ote ada-|
|00000680| 70 61 69 72 65 64 2d 70 | 61 72 65 6e 73 29 29 20 |paired-p|arens)) |
|00000690| 28 64 65 66 69 6e 65 2d | 6b 65 79 20 6d 61 70 20 |(define-|key map |
|000006a0| 22 03 2d 22 20 28 71 75 | 6f 74 65 20 61 64 61 2d |".-" (qu|ote ada-|
|000006b0| 69 6e 6c 69 6e 65 2d 63 | 6f 6d 6d 65 6e 74 29 29 |inline-c|omment))|
|000006c0| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 6d 61 70 | (define|-key map|
|000006d0| 20 22 03 01 22 20 28 71 | 75 6f 74 65 20 61 64 61 | ".." (q|uote ada|
|000006e0| 2d 61 72 72 61 79 29 29 | 20 28 64 65 66 69 6e 65 |-array))| (define|
|000006f0| 2d 6b 65 79 20 6d 61 70 | 20 22 03 62 22 20 28 71 |-key map| ".b" (q|
|00000700| 75 6f 74 65 20 61 64 61 | 2d 65 78 63 65 70 74 69 |uote ada|-excepti|
|00000710| 6f 6e 2d 62 6c 6f 63 6b | 29 29 20 28 64 65 66 69 |on-block|)) (defi|
|00000720| 6e 65 2d 6b 65 79 20 6d | 61 70 20 22 03 64 22 20 |ne-key m|ap ".d" |
|00000730| 28 71 75 6f 74 65 20 61 | 64 61 2d 64 65 63 6c 61 |(quote a|da-decla|
|00000740| 72 65 2d 62 6c 6f 63 6b | 29 29 20 28 64 65 66 69 |re-block|)) (defi|
|00000750| 6e 65 2d 6b 65 79 20 6d | 61 70 20 22 03 05 22 20 |ne-key m|ap ".." |
|00000760| 28 71 75 6f 74 65 20 61 | 64 61 2d 65 78 63 65 70 |(quote a|da-excep|
|00000770| 74 69 6f 6e 29 29 20 28 | 64 65 66 69 6e 65 2d 6b |tion)) (|define-k|
|00000780| 65 79 20 6d 61 70 20 22 | 03 63 22 20 28 71 75 6f |ey map "|.c" (quo|
|00000790| 74 65 20 61 64 61 2d 63 | 61 73 65 29 29 20 28 64 |te ada-c|ase)) (d|
|000007a0| 65 66 69 6e 65 2d 6b 65 | 79 20 6d 61 70 20 22 03 |efine-ke|y map ".|
|000007b0| 0b 22 20 28 71 75 6f 74 | 65 20 61 64 61 2d 70 61 |." (quot|e ada-pa|
|000007c0| 63 6b 61 67 65 2d 73 70 | 65 63 29 29 20 28 64 65 |ckage-sp|ec)) (de|
|000007d0| 66 69 6e 65 2d 6b 65 79 | 20 6d 61 70 20 22 03 6b |fine-key| map ".k|
|000007e0| 22 20 28 71 75 6f 74 65 | 20 61 64 61 2d 70 61 63 |" (quote| ada-pac|
|000007f0| 6b 61 67 65 2d 62 6f 64 | 79 29 29 20 28 64 65 66 |kage-bod|y)) (def|
|00000800| 69 6e 65 2d 6b 65 79 20 | 6d 61 70 20 22 03 10 22 |ine-key |map ".."|
|00000810| 20 28 71 75 6f 74 65 20 | 61 64 61 2d 70 72 6f 63 | (quote |ada-proc|
|00000820| 65 64 75 72 65 2d 73 70 | 65 63 29 29 20 28 64 65 |edure-sp|ec)) (de|
|00000830| 66 69 6e 65 2d 6b 65 79 | 20 6d 61 70 20 22 03 70 |fine-key| map ".p|
|00000840| 22 20 28 71 75 6f 74 65 | 20 61 64 61 2d 73 75 62 |" (quote| ada-sub|
|00000850| 70 72 6f 67 72 61 6d 2d | 62 6f 64 79 29 29 20 28 |program-|body)) (|
|00000860| 64 65 66 69 6e 65 2d 6b | 65 79 20 6d 61 70 20 22 |define-k|ey map "|
|00000870| 03 06 22 20 28 71 75 6f | 74 65 20 61 64 61 2d 66 |.." (quo|te ada-f|
|00000880| 75 6e 63 74 69 6f 6e 2d | 73 70 65 63 29 29 20 28 |unction-|spec)) (|
|00000890| 64 65 66 69 6e 65 2d 6b | 65 79 20 6d 61 70 20 22 |define-k|ey map "|
|000008a0| 03 66 22 20 28 71 75 6f | 74 65 20 61 64 61 2d 66 |.f" (quo|te ada-f|
|000008b0| 6f 72 2d 6c 6f 6f 70 29 | 29 20 28 64 65 66 69 6e |or-loop)|) (defin|
|000008c0| 65 2d 6b 65 79 20 6d 61 | 70 20 22 03 6c 22 20 28 |e-key ma|p ".l" (|
|000008d0| 71 75 6f 74 65 20 61 64 | 61 2d 6c 6f 6f 70 29 29 |quote ad|a-loop))|
|000008e0| 20 28 64 65 66 69 6e 65 | 2d 6b 65 79 20 6d 61 70 | (define|-key map|
|000008f0| 20 22 03 69 22 20 28 71 | 75 6f 74 65 20 61 64 61 | ".i" (q|uote ada|
|00000900| 2d 69 66 29 29 20 28 64 | 65 66 69 6e 65 2d 6b 65 |-if)) (d|efine-ke|
|00000910| 79 20 6d 61 70 20 22 03 | 49 22 20 28 71 75 6f 74 |y map ".|I" (quot|
|00000920| 65 20 61 64 61 2d 65 6c | 73 69 66 29 29 20 28 64 |e ada-el|sif)) (d|
|00000930| 65 66 69 6e 65 2d 6b 65 | 79 20 6d 61 70 20 22 03 |efine-ke|y map ".|
|00000940| 65 22 20 28 71 75 6f 74 | 65 20 61 64 61 2d 65 6c |e" (quot|e ada-el|
|00000950| 73 65 29 29 20 28 64 65 | 66 69 6e 65 2d 6b 65 79 |se)) (de|fine-key|
|00000960| 20 6d 61 70 20 22 03 16 | 22 20 28 71 75 6f 74 65 | map "..|" (quote|
|00000970| 20 61 64 61 2d 70 72 69 | 76 61 74 65 29 29 20 28 | ada-pri|vate)) (|
|00000980| 64 65 66 69 6e 65 2d 6b | 65 79 20 6d 61 70 20 22 |define-k|ey map "|
|00000990| 03 12 22 20 28 71 75 6f | 74 65 20 61 64 61 2d 72 |.." (quo|te ada-r|
|000009a0| 65 63 6f 72 64 29 29 20 | 28 64 65 66 69 6e 65 2d |ecord)) |(define-|
|000009b0| 6b 65 79 20 6d 61 70 20 | 22 03 13 22 20 28 71 75 |key map |".." (qu|
|000009c0| 6f 74 65 20 61 64 61 2d | 73 75 62 74 79 70 65 29 |ote ada-|subtype)|
|000009d0| 29 20 28 64 65 66 69 6e | 65 2d 6b 65 79 20 6d 61 |) (defin|e-key ma|
|000009e0| 70 20 22 03 73 22 20 28 | 71 75 6f 74 65 20 61 64 |p ".s" (|quote ad|
|000009f0| 61 2d 73 65 70 61 72 61 | 74 65 29 29 20 28 64 65 |a-separa|te)) (de|
|00000a00| 66 69 6e 65 2d 6b 65 79 | 20 6d 61 70 20 22 03 14 |fine-key| map "..|
|00000a10| 22 20 28 71 75 6f 74 65 | 20 61 64 61 2d 74 79 70 |" (quote| ada-typ|
|00000a20| 65 29 29 20 28 64 65 66 | 69 6e 65 2d 6b 65 79 20 |e)) (def|ine-key |
|00000a30| 6d 61 70 20 22 03 74 22 | 20 28 71 75 6f 74 65 20 |map ".t"| (quote |
|00000a40| 61 64 61 2d 74 61 62 73 | 69 7a 65 29 29 20 28 64 |ada-tabs|ize)) (d|
|00000a50| 65 66 69 6e 65 2d 6b 65 | 79 20 6d 61 70 20 22 03 |efine-ke|y map ".|
|00000a60| 77 22 20 28 71 75 6f 74 | 65 20 61 64 61 2d 77 68 |w" (quot|e ada-wh|
|00000a70| 69 6c 65 2d 6c 6f 6f 70 | 29 29 20 28 64 65 66 69 |ile-loop|)) (defi|
|00000a80| 6e 65 2d 6b 65 79 20 6d | 61 70 20 22 03 17 22 20 |ne-key m|ap ".." |
|00000a90| 28 71 75 6f 74 65 20 61 | 64 61 2d 77 68 65 6e 29 |(quote a|da-when)|
|00000aa0| 29 20 28 64 65 66 69 6e | 65 2d 6b 65 79 20 6d 61 |) (defin|e-key ma|
|00000ab0| 70 20 22 03 78 22 20 28 | 71 75 6f 74 65 20 61 64 |p ".x" (|quote ad|
|00000ac0| 61 2d 65 78 69 74 29 29 | 20 28 64 65 66 69 6e 65 |a-exit))| (define|
|00000ad0| 2d 6b 65 79 20 6d 61 70 | 20 22 03 43 22 20 28 71 |-key map| ".C" (q|
|00000ae0| 75 6f 74 65 20 61 64 61 | 2d 63 6f 6d 70 69 6c 65 |uote ada|-compile|
|00000af0| 29 29 20 28 64 65 66 69 | 6e 65 2d 6b 65 79 20 6d |)) (defi|ne-key m|
|00000b00| 61 70 20 22 03 42 22 20 | 28 71 75 6f 74 65 20 61 |ap ".B" |(quote a|
|00000b10| 64 61 2d 62 69 6e 64 29 | 29 20 28 64 65 66 69 6e |da-bind)|) (defin|
|00000b20| 65 2d 6b 65 79 20 6d 61 | 70 20 22 03 45 22 20 28 |e-key ma|p ".E" (|
|00000b30| 71 75 6f 74 65 20 61 64 | 61 2d 66 69 6e 64 2d 6c |quote ad|a-find-l|
|00000b40| 69 73 74 69 6e 67 29 29 | 20 28 64 65 66 69 6e 65 |isting))| (define|
|00000b50| 2d 6b 65 79 20 6d 61 70 | 20 22 03 4c 22 20 28 71 |-key map| ".L" (q|
|00000b60| 75 6f 74 65 20 61 64 61 | 2d 6c 69 62 72 61 72 79 |uote ada|-library|
|00000b70| 2d 6e 61 6d 65 29 29 20 | 28 64 65 66 69 6e 65 2d |-name)) |(define-|
|00000b80| 6b 65 79 20 6d 61 70 20 | 22 03 4f 22 20 28 71 75 |key map |".O" (qu|
|00000b90| 6f 74 65 20 61 64 61 2d | 6f 70 74 69 6f 6e 73 2d |ote ada-|options-|
|00000ba0| 66 6f 72 2d 62 69 6e 64 | 29 29 20 28 73 65 74 71 |for-bind|)) (setq|
|00000bb0| 20 61 64 61 2d 6d 6f 64 | 65 2d 6d 61 70 20 6d 61 | ada-mod|e-map ma|
|00000bc0| 70 29 29 0a 0a 28 64 65 | 66 76 61 72 20 61 64 61 |p))..(de|fvar ada|
|00000bd0| 2d 69 6e 64 65 6e 74 20 | 34 20 22 5c 0a 2a 56 61 |-indent |4 "\.*Va|
|00000be0| 6c 75 65 20 69 73 20 74 | 68 65 20 6e 75 6d 62 65 |lue is t|he numbe|
|00000bf0| 72 20 6f 66 20 63 6f 6c | 75 6d 6e 73 20 74 6f 20 |r of col|umns to |
|00000c00| 69 6e 64 65 6e 74 20 69 | 6e 20 41 64 61 2d 4d 6f |indent i|n Ada-Mo|
|00000c10| 64 65 2e 22 29 0a 0a 28 | 64 65 66 75 6e 20 61 64 |de.")..(|defun ad|
|00000c20| 61 2d 6d 6f 64 65 20 6e | 69 6c 20 22 5c 0a 54 68 |a-mode n|il "\.Th|
|00000c30| 69 73 20 69 73 20 61 20 | 6d 6f 64 65 20 69 6e 74 |is is a |mode int|
|00000c40| 65 6e 64 65 64 20 74 6f | 20 73 75 70 70 6f 72 74 |ended to| support|
|00000c50| 20 70 72 6f 67 72 61 6d | 20 64 65 76 65 6c 6f 70 | program| develop|
|00000c60| 6d 65 6e 74 20 69 6e 20 | 41 64 61 2e 0a 4d 6f 73 |ment in |Ada..Mos|
|00000c70| 74 20 63 6f 6e 74 72 6f | 6c 20 63 6f 6e 73 74 72 |t contro|l constr|
|00000c80| 75 63 74 73 20 61 6e 64 | 20 64 65 63 6c 61 72 61 |ucts and| declara|
|00000c90| 74 69 6f 6e 73 20 6f 66 | 20 41 64 61 20 63 61 6e |tions of| Ada can|
|00000ca0| 20 62 65 20 69 6e 73 65 | 72 74 65 64 20 69 6e 20 | be inse|rted in |
|00000cb0| 74 68 65 20 62 75 66 66 | 65 72 0a 62 79 20 74 79 |the buff|er.by ty|
|00000cc0| 70 69 6e 67 20 43 6f 6e | 74 72 6f 6c 2d 43 20 66 |ping Con|trol-C f|
|00000cd0| 6f 6c 6c 6f 77 65 64 20 | 62 79 20 61 20 63 68 61 |ollowed |by a cha|
|00000ce0| 72 61 63 74 65 72 20 6d | 6e 65 6d 6f 6e 69 63 20 |racter m|nemonic |
|00000cf0| 66 6f 72 20 74 68 65 20 | 63 6f 6e 73 74 72 75 63 |for the |construc|
|00000d00| 74 2e 0a 0a 43 2d 63 20 | 43 2d 61 20 20 61 72 72 |t...C-c |C-a arr|
|00000d10| 61 79 20 20 20 20 20 20 | 20 20 20 09 43 2d 63 20 |ay | .C-c |
|00000d20| 62 20 20 20 20 65 78 63 | 65 70 74 69 6f 6e 20 62 |b exc|eption b|
|00000d30| 6c 6f 63 6b 0a 43 2d 63 | 20 43 2d 65 20 20 65 78 |lock.C-c| C-e ex|
|00000d40| 63 65 70 74 69 6f 6e 20 | 20 20 20 20 20 43 2d 63 |ception | C-c|
|00000d50| 20 64 20 20 20 20 64 65 | 63 6c 61 72 65 20 62 6c | d de|clare bl|
|00000d60| 6f 63 6b 0a 43 2d 63 20 | 43 2d 6b 20 20 70 61 63 |ock.C-c |C-k pac|
|00000d70| 6b 61 67 65 20 73 70 65 | 63 20 20 20 43 2d 63 20 |kage spe|c C-c |
|00000d80| 6b 20 20 20 20 70 61 63 | 6b 61 67 65 20 62 6f 64 |k pac|kage bod|
|00000d90| 79 0a 43 2d 63 20 43 2d | 70 20 20 70 72 6f 63 65 |y.C-c C-|p proce|
|00000da0| 64 75 72 65 20 73 70 65 | 63 20 43 2d 63 20 70 20 |dure spe|c C-c p |
|00000db0| 20 20 20 70 72 6f 63 2f | 66 75 6e 63 20 62 6f 64 | proc/|func bod|
|00000dc0| 79 0a 43 2d 63 20 43 2d | 66 20 20 66 75 6e 63 20 |y.C-c C-|f func |
|00000dd0| 73 70 65 63 20 20 20 20 | 20 20 43 2d 63 20 66 20 |spec | C-c f |
|00000de0| 20 20 20 66 6f 72 20 6c | 6f 6f 70 0a 20 20 20 20 | for l|oop. |
|00000df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e00| 20 20 20 20 43 2d 63 20 | 69 20 20 20 20 69 66 0a | C-c |i if.|
|00000e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000e20| 20 20 20 20 20 20 20 20 | 43 2d 63 20 49 20 20 20 | |C-c I |
|00000e30| 20 65 6c 73 69 66 0a 20 | 20 20 20 20 20 20 20 20 | elsif. | |
|00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 43 | | C|
|00000e50| 2d 63 20 65 20 20 20 20 | 65 6c 73 65 0a 43 2d 63 |-c e |else.C-c|
|00000e60| 20 43 2d 76 20 20 70 72 | 69 76 61 74 65 20 20 20 | C-v pr|ivate |
|00000e70| 20 20 20 20 20 43 2d 63 | 20 6c 20 20 20 20 6c 6f | C-c| l lo|
|00000e80| 6f 70 0a 43 2d 63 20 43 | 2d 72 20 20 72 65 63 6f |op.C-c C|-r reco|
|00000e90| 72 64 20 20 20 20 20 20 | 20 20 20 43 2d 63 20 63 |rd | C-c c|
|00000ea0| 20 20 20 20 63 61 73 65 | 0a 43 2d 63 20 43 2d 73 | case|.C-c C-s|
|00000eb0| 20 20 73 75 62 74 79 70 | 65 20 20 20 20 20 20 20 | subtyp|e |
|00000ec0| 20 43 2d 63 20 73 20 20 | 20 20 73 65 70 61 72 61 | C-c s | separa|
|00000ed0| 74 65 0a 43 2d 63 20 43 | 2d 74 20 20 74 79 70 65 |te.C-c C|-t type|
|00000ee0| 20 20 20 20 20 20 20 20 | 20 20 20 43 2d 63 20 74 | | C-c t|
|00000ef0| 20 20 20 20 74 61 62 20 | 73 70 61 63 69 6e 67 20 | tab |spacing |
|00000f00| 66 6f 72 20 69 6e 64 65 | 6e 74 73 0a 43 2d 63 20 |for inde|nts.C-c |
|00000f10| 43 2d 77 20 20 77 68 65 | 6e 20 20 20 20 20 20 20 |C-w whe|n |
|00000f20| 20 20 20 20 43 2d 63 20 | 77 20 20 20 20 77 68 69 | C-c |w whi|
|00000f30| 6c 65 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |le. | |
|00000f40| 20 20 20 20 20 20 20 20 | 20 20 20 43 2d 63 20 78 | | C-c x|
|00000f50| 20 20 20 20 65 78 69 74 | 0a 43 2d 63 20 28 20 20 | exit|.C-c ( |
|00000f60| 20 20 70 61 69 72 65 64 | 20 70 61 72 65 6e 73 20 | paired| parens |
|00000f70| 20 43 2d 63 20 2d 20 20 | 20 20 69 6e 6c 69 6e 65 | C-c - | inline|
|00000f80| 20 63 6f 6d 6d 65 6e 74 | 0a 20 20 20 20 20 20 20 | comment|. |
|00000f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000fa0| 20 43 2d 63 20 68 20 20 | 20 20 68 65 61 64 65 72 | C-c h | header|
|00000fb0| 20 73 65 63 0a 43 2d 63 | 20 43 20 20 20 20 63 6f | sec.C-c| C co|
|00000fc0| 6d 70 69 6c 65 20 20 20 | 20 20 20 20 20 43 2d 63 |mpile | C-c|
|00000fd0| 20 42 20 20 20 20 62 69 | 6e 64 0a 43 2d 63 20 45 | B bi|nd.C-c E|
|00000fe0| 20 20 20 20 66 69 6e 64 | 20 65 72 72 6f 72 20 6c | find| error l|
|00000ff0| 69 73 74 0a 43 2d 63 20 | 4c 20 20 20 20 6e 61 6d |ist.C-c |L nam|
|00001000| 65 20 6c 69 62 72 61 72 | 79 20 20 20 43 2d 63 20 |e librar|y C-c |
|00001010| 4f 20 20 20 20 6f 70 74 | 69 6f 6e 73 20 66 6f 72 |O opt|ions for|
|00001020| 20 62 69 6e 64 0a 0a 43 | 2d 63 20 3c 20 61 6e 64 | bind..C|-c < and|
|00001030| 20 43 2d 63 20 3e 20 6d | 6f 76 65 20 62 61 63 6b | C-c > m|ove back|
|00001040| 77 61 72 64 20 61 6e 64 | 20 66 6f 72 77 61 72 64 |ward and| forward|
|00001050| 20 72 65 73 70 65 63 74 | 69 76 65 6c 79 20 74 6f | respect|ively to|
|00001060| 20 74 68 65 20 6e 65 78 | 74 20 6c 69 6e 65 0a 68 | the nex|t line.h|
|00001070| 61 76 69 6e 67 20 74 68 | 65 20 73 61 6d 65 20 28 |aving th|e same (|
|00001080| 6f 72 20 6c 65 73 73 65 | 72 29 20 6c 65 76 65 6c |or lesse|r) level|
|00001090| 20 6f 66 20 69 6e 64 65 | 6e 74 61 74 69 6f 6e 2e | of inde|ntation.|
|000010a0| 0a 0a 56 61 72 69 61 62 | 6c 65 20 61 64 61 2d 69 |..Variab|le ada-i|
|000010b0| 6e 64 65 6e 74 20 63 6f | 6e 74 72 6f 6c 73 20 74 |ndent co|ntrols t|
|000010c0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 73 70 61 |he numbe|r of spa|
|000010d0| 63 65 73 20 66 6f 72 20 | 69 6e 64 65 6e 74 2f 75 |ces for |indent/u|
|000010e0| 6e 64 65 6e 74 2e 0a 0a | 5c 5c 7b 61 64 61 2d 6d |ndent...|\\{ada-m|
|000010f0| 6f 64 65 2d 6d 61 70 7d | 0a 22 20 28 69 6e 74 65 |ode-map}|." (inte|
|00001100| 72 61 63 74 69 76 65 29 | 20 28 62 79 74 65 2d 63 |ractive)| (byte-c|
|00001110| 6f 64 65 20 22 d1 88 d2 | 20 88 d3 08 21 88 d4 89 |ode "...| ...!...|
|00001120| 11 88 d5 89 12 88 d6 c3 | 21 88 d7 89 13 88 d6 c4 |........|!.......|
|00001130| 21 88 d8 89 14 88 d9 0d | 21 88 d6 c6 21 88 da 0e |!.......|!...!...|
|00001140| 07 50 89 16 06 88 d6 c8 | 21 88 0e 06 89 16 08 88 |.P......|!.......|
|00001150| d6 c9 21 88 ca 89 16 09 | 88 d6 cb 21 88 ca 89 16 |..!.....|...!....|
|00001160| 0b 88 d6 cc 21 88 db 89 | 16 0c 88 d6 cd 21 88 dc |....!...|.....!..|
|00001170| 89 16 0d 88 d6 c3 21 88 | d7 89 13 88 d6 ce 21 88 |......!.|......!.|
|00001180| dd 89 16 0e 88 d6 cf 21 | 88 de 89 16 0f 88 d6 d0 |.......!|........|
|00001190| 21 88 ca 89 16 10 88 df | e0 21 87 22 20 5b 61 64 |!.......|.!." [ad|
|000011a0| 61 2d 6d 6f 64 65 2d 6d | 61 70 20 6d 61 6a 6f 72 |a-mode-m|ap major|
|000011b0| 2d 6d 6f 64 65 20 6d 6f | 64 65 2d 6e 61 6d 65 20 |-mode mo|de-name |
|000011c0| 63 6f 6d 6d 65 6e 74 2d | 63 6f 6c 75 6d 6e 20 65 |comment-|column e|
|000011d0| 6e 64 2d 63 6f 6d 6d 65 | 6e 74 2d 63 6f 6c 75 6d |nd-comme|nt-colum|
|000011e0| 6e 20 61 64 61 2d 6d 6f | 64 65 2d 73 79 6e 74 61 |n ada-mo|de-synta|
|000011f0| 78 2d 74 61 62 6c 65 20 | 70 61 72 61 67 72 61 70 |x-table |paragrap|
|00001200| 68 2d 73 74 61 72 74 20 | 70 61 67 65 2d 64 65 6c |h-start |page-del|
|00001210| 69 6d 69 74 65 72 20 70 | 61 72 61 67 72 61 70 68 |imiter p|aragraph|
|00001220| 2d 73 65 70 61 72 61 74 | 65 20 70 61 72 61 67 72 |-separat|e paragr|
|00001230| 61 70 68 2d 69 67 6e 6f | 72 65 2d 66 69 6c 6c 2d |aph-igno|re-fill-|
|00001240| 70 72 65 66 69 78 20 74 | 20 72 65 71 75 69 72 65 |prefix t| require|
|00001250| 2d 66 69 6e 61 6c 2d 6e | 65 77 6c 69 6e 65 20 63 |-final-n|ewline c|
|00001260| 6f 6d 6d 65 6e 74 2d 73 | 74 61 72 74 20 63 6f 6d |omment-s|tart com|
|00001270| 6d 65 6e 74 2d 65 6e 64 | 20 63 6f 6d 6d 65 6e 74 |ment-end| comment|
|00001280| 2d 73 74 61 72 74 2d 73 | 6b 69 70 20 63 6f 6d 6d |-start-s|kip comm|
|00001290| 65 6e 74 2d 69 6e 64 65 | 6e 74 2d 68 6f 6f 6b 20 |ent-inde|nt-hook |
|000012a0| 70 61 72 73 65 2d 73 65 | 78 70 2d 69 67 6e 6f 72 |parse-se|xp-ignor|
|000012b0| 65 2d 63 6f 6d 6d 65 6e | 74 73 20 6e 69 6c 20 6b |e-commen|ts nil k|
|000012c0| 69 6c 6c 2d 61 6c 6c 2d | 6c 6f 63 61 6c 2d 76 61 |ill-all-|local-va|
|000012d0| 72 69 61 62 6c 65 73 20 | 75 73 65 2d 6c 6f 63 61 |riables |use-loca|
|000012e0| 6c 2d 6d 61 70 20 61 64 | 61 2d 6d 6f 64 65 20 22 |l-map ad|a-mode "|
|000012f0| 41 64 61 22 20 6d 61 6b | 65 2d 6c 6f 63 61 6c 2d |Ada" mak|e-local-|
|00001300| 76 61 72 69 61 62 6c 65 | 20 34 31 20 37 32 20 73 |variable| 41 72 s|
|00001310| 65 74 2d 73 79 6e 74 61 | 78 2d 74 61 62 6c 65 20 |et-synta|x-table |
|00001320| 22 5e 24 5c 5c 7c 22 20 | 22 2d 2d 22 20 22 0a 22 |"^$\\|" |"--" "."|
|00001330| 20 22 2d 2d 2b 20 2a 22 | 20 63 2d 63 6f 6d 6d 65 | "--+ *"| c-comme|
|00001340| 6e 74 2d 69 6e 64 65 6e | 74 20 72 75 6e 2d 68 6f |nt-inden|t run-ho|
|00001350| 6f 6b 73 20 61 64 61 2d | 6d 6f 64 65 2d 68 6f 6f |oks ada-|mode-hoo|
|00001360| 6b 5d 20 31 37 29 29 0a | 0a 28 64 65 66 75 6e 20 |k] 17)).|.(defun |
|00001370| 61 64 61 2d 74 61 62 73 | 69 7a 65 20 28 73 29 20 |ada-tabs|ize (s) |
|00001380| 22 5c 0a 63 68 61 6e 67 | 65 73 20 73 70 61 63 69 |"\.chang|es spaci|
|00001390| 6e 67 20 75 73 65 64 20 | 66 6f 72 20 69 6e 64 65 |ng used |for inde|
|000013a0| 6e 74 61 74 69 6f 6e 2e | 20 52 65 61 64 73 20 73 |ntation.| Reads s|
|000013b0| 70 61 63 69 6e 67 20 66 | 72 6f 6d 20 6d 69 6e 69 |pacing f|rom mini|
|000013c0| 62 75 66 66 65 72 2e 22 | 20 28 69 6e 74 65 72 61 |buffer."| (intera|
|000013d0| 63 74 69 76 65 20 22 6e | 6e 65 77 20 69 6e 64 65 |ctive "n|new inde|
|000013e0| 6e 74 61 74 69 6f 6e 20 | 73 70 61 63 69 6e 67 3a |ntation |spacing:|
|000013f0| 20 22 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 | ") (byt|e-code "|
|00001400| c2 88 09 89 10 87 22 20 | 5b 61 64 61 2d 69 6e 64 |......" |[ada-ind|
|00001410| 65 6e 74 20 73 20 6e 69 | 6c 5d 20 32 29 29 0a 0a |ent s ni|l] 2))..|
|00001420| 28 64 65 66 75 6e 20 61 | 64 61 2d 6e 65 77 6c 69 |(defun a|da-newli|
|00001430| 6e 65 20 6e 69 6c 20 22 | 5c 0a 53 74 61 72 74 20 |ne nil "|\.Start |
|00001440| 6e 65 77 20 6c 69 6e 65 | 20 61 6e 64 20 69 6e 64 |new line| and ind|
|00001450| 65 6e 74 20 74 6f 20 63 | 75 72 72 65 6e 74 20 74 |ent to c|urrent t|
|00001460| 61 62 20 73 74 6f 70 2e | 22 20 28 69 6e 74 65 72 |ab stop.|" (inter|
|00001470| 61 63 74 69 76 65 29 20 | 28 62 79 74 65 2d 63 6f |active) |(byte-co|
|00001480| 64 65 20 22 c1 88 c2 20 | 18 c3 20 88 08 6a 29 87 |de "... |.. ..j).|
|00001490| 22 20 5b 61 64 61 2d 63 | 63 20 6e 69 6c 20 63 75 |" [ada-c|c nil cu|
|000014a0| 72 72 65 6e 74 2d 69 6e | 64 65 6e 74 61 74 69 6f |rrent-in|dentatio|
|000014b0| 6e 20 6e 65 77 6c 69 6e | 65 5d 20 33 29 29 0a 0a |n newlin|e] 3))..|
|000014c0| 28 64 65 66 75 6e 20 61 | 64 61 2d 74 61 62 20 6e |(defun a|da-tab n|
|000014d0| 69 6c 20 22 5c 0a 49 6e | 64 65 6e 74 20 74 6f 20 |il "\.In|dent to |
|000014e0| 6e 65 78 74 20 74 61 62 | 20 73 74 6f 70 2e 22 20 |next tab| stop." |
|000014f0| 28 69 6e 74 65 72 61 63 | 74 69 76 65 29 20 28 62 |(interac|tive) (b|
|00001500| 79 74 65 2d 63 6f 64 65 | 20 22 c1 88 c2 c3 c4 20 |yte-code| "..... |
|00001510| 08 5c 22 54 08 5c 22 6a | 87 22 20 5b 61 64 61 2d |.\"T.\"j|." [ada-|
|00001520| 69 6e 64 65 6e 74 20 6e | 69 6c 20 2a 20 2f 20 63 |indent n|il * / c|
|00001530| 75 72 72 65 6e 74 2d 69 | 6e 64 65 6e 74 61 74 69 |urrent-i|ndentati|
|00001540| 6f 6e 5d 20 35 29 29 0a | 0a 28 64 65 66 75 6e 20 |on] 5)).|.(defun |
|00001550| 61 64 61 2d 75 6e 74 61 | 62 20 6e 69 6c 20 22 5c |ada-unta|b nil "\|
|00001560| 0a 44 65 6c 65 74 65 20 | 62 61 63 6b 77 61 72 64 |.Delete |backward|
|00001570| 73 20 74 6f 20 70 72 65 | 76 69 6f 75 73 20 74 61 |s to pre|vious ta|
|00001580| 62 20 73 74 6f 70 2e 22 | 20 28 69 6e 74 65 72 61 |b stop."| (intera|
|00001590| 63 74 69 76 65 29 20 28 | 62 79 74 65 2d 63 6f 64 |ctive) (|byte-cod|
|000015a0| 65 20 22 c1 88 c2 08 c1 | 5c 22 87 22 20 5b 61 64 |e ".....|\"." [ad|
|000015b0| 61 2d 69 6e 64 65 6e 74 | 20 6e 69 6c 20 62 61 63 |a-indent| nil bac|
|000015c0| 6b 77 61 72 64 2d 64 65 | 6c 65 74 65 2d 63 68 61 |kward-de|lete-cha|
|000015d0| 72 2d 75 6e 74 61 62 69 | 66 79 5d 20 33 29 29 0a |r-untabi|fy] 3)).|
|000015e0| 0a 28 64 65 66 75 6e 20 | 61 64 61 2d 67 6f 2d 74 |.(defun |ada-go-t|
|000015f0| 6f 2d 74 68 69 73 2d 69 | 6e 64 65 6e 74 20 28 73 |o-this-i|ndent (s|
|00001600| 74 65 70 20 69 6e 64 65 | 6e 74 2d 6c 65 76 65 6c |tep inde|nt-level|
|00001610| 29 20 22 5c 0a 4d 6f 76 | 65 20 70 6f 69 6e 74 20 |) "\.Mov|e point |
|00001620| 72 65 70 65 61 74 65 64 | 6c 79 20 62 79 20 3c 73 |repeated|ly by <s|
|00001630| 74 65 70 3e 20 6c 69 6e | 65 73 20 74 69 6c 6c 20 |tep> lin|es till |
|00001640| 74 68 65 20 63 75 72 72 | 65 6e 74 20 6c 69 6e 65 |the curr|ent line|
|00001650| 0a 68 61 73 20 67 69 76 | 65 6e 20 69 6e 64 65 6e |.has giv|en inden|
|00001660| 74 2d 6c 65 76 65 6c 20 | 6f 72 20 6c 65 73 73 2c |t-level |or less,|
|00001670| 20 6f 72 20 74 68 65 20 | 73 74 61 72 74 2f 65 6e | or the |start/en|
|00001680| 64 20 6f 66 20 74 68 65 | 20 62 75 66 66 65 72 20 |d of the| buffer |
|00001690| 69 73 20 68 69 74 2e 0a | 49 67 6e 6f 72 65 20 62 |is hit..|Ignore b|
|000016a0| 6c 61 6e 6b 20 6c 69 6e | 65 73 2c 20 73 74 61 74 |lank lin|es, stat|
|000016b0| 65 6d 65 6e 74 20 6c 61 | 62 65 6c 73 2c 20 62 6c |ement la|bels, bl|
|000016c0| 6f 63 6b 2f 6c 6f 6f 70 | 20 6e 61 6d 65 73 2e 22 |ock/loop| names."|
|000016d0| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c3 c4 08 | (byte-c|ode "...|
|000016e0| 21 21 85 24 00 c5 c6 21 | 86 24 00 c5 c7 21 86 24 |!!.$...!|.$...!.$|
|000016f0| 00 c5 c8 21 86 24 00 c5 | c9 21 86 24 00 ca 20 09 |...!.$..|.!.$.. .|
|00001700| 56 85 2c 00 c2 88 82 00 | 00 87 22 20 5b 73 74 65 |V.,.....|.." [ste|
|00001710| 70 20 69 6e 64 65 6e 74 | 2d 6c 65 76 65 6c 20 6e |p indent|-level n|
|00001720| 69 6c 20 7a 65 72 6f 70 | 20 66 6f 72 77 61 72 64 |il zerop| forward|
|00001730| 2d 6c 69 6e 65 20 6c 6f | 6f 6b 69 6e 67 2d 61 74 |-line lo|oking-at|
|00001740| 20 22 5e 5b 20 09 5d 2a | 24 22 20 22 5e 5b 20 09 | "^[ .]*|$" "^[ .|
|00001750| 5d 2a 2d 2d 22 20 22 5e | 3c 3c 5b 41 2d 5a 61 2d |]*--" "^|<<[A-Za-|
|00001760| 7a 30 2d 39 5f 5d 2b 3e | 3e 22 20 22 5e 5b 41 2d |z0-9_]+>|>" "^[A-|
|00001770| 5a 61 2d 7a 30 2d 39 5f | 5d 2b 3a 22 20 63 75 72 |Za-z0-9_|]+:" cur|
|00001780| 72 65 6e 74 2d 69 6e 64 | 65 6e 74 61 74 69 6f 6e |rent-ind|entation|
|00001790| 5d 20 39 29 29 0a 0a 28 | 64 65 66 75 6e 20 61 64 |] 9))..(|defun ad|
|000017a0| 61 2d 62 61 63 6b 77 61 | 72 64 2d 74 6f 2d 73 61 |a-backwa|rd-to-sa|
|000017b0| 6d 65 2d 69 6e 64 65 6e | 74 20 6e 69 6c 20 22 5c |me-inden|t nil "\|
|000017c0| 0a 4d 6f 76 65 20 70 6f | 69 6e 74 20 62 61 63 6b |.Move po|int back|
|000017d0| 77 61 72 64 73 20 74 6f | 20 6e 65 61 72 65 73 74 |wards to| nearest|
|000017e0| 20 6c 69 6e 65 20 77 69 | 74 68 20 73 61 6d 65 20 | line wi|th same |
|000017f0| 69 6e 64 65 6e 74 61 74 | 69 6f 6e 20 6f 72 20 6c |indentat|ion or l|
|00001800| 65 73 73 2e 0a 49 66 20 | 6e 6f 74 20 66 6f 75 6e |ess..If |not foun|
|00001810| 64 2c 20 70 6f 69 6e 74 | 20 69 73 20 6c 65 66 74 |d, point| is left|
|00001820| 20 61 74 20 74 6f 70 20 | 6f 66 20 62 75 66 66 65 | at top |of buffe|
|00001830| 72 2e 22 20 28 69 6e 74 | 65 72 61 63 74 69 76 65 |r." (int|eractive|
|00001840| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c0 88 |) (byte-|code "..|
|00001850| c1 c2 c3 20 5c 22 88 c4 | 20 87 22 20 5b 6e 69 6c |... \"..| ." [nil|
|00001860| 20 61 64 61 2d 67 6f 2d | 74 6f 2d 74 68 69 73 2d | ada-go-|to-this-|
|00001870| 69 6e 64 65 6e 74 20 2d | 31 20 63 75 72 72 65 6e |indent -|1 curren|
|00001880| 74 2d 69 6e 64 65 6e 74 | 61 74 69 6f 6e 20 62 61 |t-indent|ation ba|
|00001890| 63 6b 2d 74 6f 2d 69 6e | 64 65 6e 74 61 74 69 6f |ck-to-in|dentatio|
|000018a0| 6e 5d 20 34 29 29 0a 0a | 28 64 65 66 75 6e 20 61 |n] 4))..|(defun a|
|000018b0| 64 61 2d 66 6f 72 77 61 | 72 64 2d 74 6f 2d 73 61 |da-forwa|rd-to-sa|
|000018c0| 6d 65 2d 69 6e 64 65 6e | 74 20 6e 69 6c 20 22 5c |me-inden|t nil "\|
|000018d0| 0a 4d 6f 76 65 20 70 6f | 69 6e 74 20 66 6f 72 77 |.Move po|int forw|
|000018e0| 61 72 64 73 20 74 6f 20 | 6e 65 61 72 65 73 74 20 |ards to |nearest |
|000018f0| 6c 69 6e 65 20 77 69 74 | 68 20 73 61 6d 65 20 69 |line wit|h same i|
|00001900| 6e 64 65 6e 74 61 74 69 | 6f 6e 20 6f 72 20 6c 65 |ndentati|on or le|
|00001910| 73 73 2e 0a 49 66 20 6e | 6f 74 20 66 6f 75 6e 64 |ss..If n|ot found|
|00001920| 2c 20 70 6f 69 6e 74 20 | 69 73 20 6c 65 66 74 20 |, point |is left |
|00001930| 61 74 20 73 74 61 72 74 | 20 6f 66 20 6c 61 73 74 |at start| of last|
|00001940| 20 6c 69 6e 65 20 69 6e | 20 62 75 66 66 65 72 2e | line in| buffer.|
|00001950| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 20 |" (inter|active) |
|00001960| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 88 c1 c2 |(byte-co|de "....|
|00001970| c3 20 5c 22 88 c4 20 87 | 22 20 5b 6e 69 6c 20 61 |. \".. .|" [nil a|
|00001980| 64 61 2d 67 6f 2d 74 6f | 2d 74 68 69 73 2d 69 6e |da-go-to|-this-in|
|00001990| 64 65 6e 74 20 31 20 63 | 75 72 72 65 6e 74 2d 69 |dent 1 c|urrent-i|
|000019a0| 6e 64 65 6e 74 61 74 69 | 6f 6e 20 62 61 63 6b 2d |ndentati|on back-|
|000019b0| 74 6f 2d 69 6e 64 65 6e | 74 61 74 69 6f 6e 5d 20 |to-inden|tation] |
|000019c0| 34 29 29 0a 0a 28 64 65 | 66 75 6e 20 61 64 61 2d |4))..(de|fun ada-|
|000019d0| 61 72 72 61 79 20 6e 69 | 6c 20 22 5c 0a 49 6e 73 |array ni|l "\.Ins|
|000019e0| 65 72 74 20 61 72 72 61 | 79 20 74 79 70 65 20 64 |ert arra|y type d|
|000019f0| 65 66 69 6e 69 74 69 6f | 6e 2c 20 70 72 6f 6d 70 |efinitio|n, promp|
|00001a00| 74 69 6e 67 20 66 6f 72 | 20 63 6f 6d 70 6f 6e 65 |ting for| compone|
|00001a10| 6e 74 20 74 79 70 65 2c | 0a 6c 65 61 76 69 6e 67 |nt type,|.leaving|
|00001a20| 20 74 68 65 20 75 73 65 | 72 20 74 6f 20 74 79 70 | the use|r to typ|
|00001a30| 65 20 69 6e 20 74 68 65 | 20 69 6e 64 65 78 20 73 |e in the| index s|
|00001a40| 75 62 74 79 70 65 73 2e | 22 20 28 69 6e 74 65 72 |ubtypes.|" (inter|
|00001a50| 61 63 74 69 76 65 29 20 | 28 62 79 74 65 2d 63 6f |active) |(byte-co|
|00001a60| 64 65 20 22 c0 88 c1 63 | 88 c2 20 88 c3 c4 21 63 |de "...c|.. ...!c|
|00001a70| 88 c5 20 88 c6 63 88 c2 | 20 88 c3 c7 21 63 88 c5 |.. ..c..| ...!c..|
|00001a80| 20 87 22 20 5b 6e 69 6c | 20 22 61 72 72 61 79 20 | ." [nil| "array |
|00001a90| 28 29 22 20 62 61 63 6b | 77 61 72 64 2d 63 68 61 |()" back|ward-cha|
|00001aa0| 72 20 72 65 61 64 2d 73 | 74 72 69 6e 67 20 22 69 |r read-s|tring "i|
|00001ab0| 6e 64 65 78 20 73 75 62 | 74 79 70 65 5b 73 5d 3a |ndex sub|type[s]:|
|00001ac0| 20 22 20 65 6e 64 2d 6f | 66 2d 6c 69 6e 65 20 22 | " end-o|f-line "|
|00001ad0| 20 6f 66 20 3b 22 20 22 | 63 6f 6d 70 6f 6e 65 6e | of ;" "|componen|
|00001ae0| 74 2d 74 79 70 65 3a 20 | 22 5d 20 37 29 29 0a 0a |t-type: |"] 7))..|
|00001af0| 28 64 65 66 75 6e 20 61 | 64 61 2d 63 61 73 65 20 |(defun a|da-case |
|00001b00| 6e 69 6c 20 22 5c 0a 42 | 75 69 6c 64 20 73 6b 65 |nil "\.B|uild ske|
|00001b10| 6c 65 74 6f 6e 20 63 61 | 73 65 20 73 74 61 74 6d |leton ca|se statm|
|00001b20| 65 6e 74 2c 20 70 72 6f | 6d 70 74 69 6e 67 20 66 |ent, pro|mpting f|
|00001b30| 6f 72 20 74 68 65 20 73 | 65 6c 65 63 74 6f 72 20 |or the s|elector |
|00001b40| 65 78 70 72 65 73 73 69 | 6f 6e 2e 0a 73 74 61 72 |expressi|on..star|
|00001b50| 74 73 20 75 70 20 74 68 | 65 20 66 69 72 73 74 20 |ts up th|e first |
|00001b60| 77 68 65 6e 20 63 6c 61 | 75 73 65 2c 20 74 6f 6f |when cla|use, too|
|00001b70| 2e 22 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 29 |." (inte|ractive)|
|00001b80| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 88 c1 | (byte-c|ode "...|
|00001b90| 63 88 c2 c3 c4 21 c5 5c | 22 88 c6 20 88 c6 20 88 |c....!.\|".. .. .|
|00001ba0| c7 63 88 c8 c9 21 88 ca | 20 88 ca 20 88 cb 20 87 |.c...!..| .. .. .|
|00001bb0| 22 20 5b 6e 69 6c 20 22 | 63 61 73 65 20 22 20 69 |" [nil "|case " i|
|00001bc0| 6e 73 65 72 74 20 72 65 | 61 64 2d 73 74 72 69 6e |nsert re|ad-strin|
|00001bd0| 67 20 22 73 65 6c 65 63 | 74 6f 72 20 65 78 70 72 |g "selec|tor expr|
|00001be0| 65 73 73 69 6f 6e 3a 20 | 22 20 22 20 69 73 22 20 |ession: |" " is" |
|00001bf0| 61 64 61 2d 6e 65 77 6c | 69 6e 65 20 22 65 6e 64 |ada-newl|ine "end|
|00001c00| 20 63 61 73 65 3b 22 20 | 65 6e 64 2d 6f 66 2d 6c | case;" |end-of-l|
|00001c10| 69 6e 65 20 30 20 61 64 | 61 2d 74 61 62 20 61 64 |ine 0 ad|a-tab ad|
|00001c20| 61 2d 77 68 65 6e 5d 20 | 39 29 29 0a 0a 28 64 65 |a-when] |9))..(de|
|00001c30| 66 75 6e 20 61 64 61 2d | 64 65 63 6c 61 72 65 2d |fun ada-|declare-|
|00001c40| 62 6c 6f 63 6b 20 6e 69 | 6c 20 22 5c 0a 49 6e 73 |block ni|l "\.Ins|
|00001c50| 65 72 74 20 61 20 62 6c | 6f 63 6b 20 77 69 74 68 |ert a bl|ock with|
|00001c60| 20 61 20 64 65 63 6c 61 | 72 65 20 70 61 72 74 20 | a decla|re part |
|00001c70| 61 6e 64 20 69 6e 64 65 | 6e 74 20 66 6f 72 20 74 |and inde|nt for t|
|00001c80| 68 65 20 31 73 74 20 64 | 65 63 6c 61 72 61 74 69 |he 1st d|eclarati|
|00001c90| 6f 6e 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |on." (in|teractiv|
|00001ca0| 65 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c1 |e) (byte|-code ".|
|00001cb0| 88 c2 c3 21 18 c4 63 88 | c5 08 c6 5c 22 3f 85 23 |...!..c.|...\"?.#|
|00001cc0| 00 c7 20 88 c8 c9 21 88 | ca 08 cb 5c 22 88 cc c9 |.. ...!.|...\"...|
|00001cd0| 21 88 cd 20 88 ce 20 88 | ce 20 88 cf 63 88 ce 20 |!.. .. .|. ..c.. |
|00001ce0| 88 ce 20 88 c5 08 c6 5c | 22 83 3f 00 d0 63 82 44 |.. ....\|".?..c.D|
|00001cf0| 00 ca d1 08 d2 23 29 88 | cd d3 21 88 d4 20 87 22 |.....#).|..!.. ."|
|00001d00| 20 5b 61 64 61 2d 62 6c | 6f 63 6b 2d 6e 61 6d 65 | [ada-bl|ock-name|
|00001d10| 20 6e 69 6c 20 72 65 61 | 64 2d 73 74 72 69 6e 67 | nil rea|d-string|
|00001d20| 20 22 5b 62 6c 6f 63 6b | 20 6e 61 6d 65 5d 3a 20 | "[block| name]: |
|00001d30| 22 20 22 64 65 63 6c 61 | 72 65 22 20 73 74 72 69 |" "decla|re" stri|
|00001d40| 6e 67 2d 65 71 75 61 6c | 20 22 22 20 62 65 67 69 |ng-equal| "" begi|
|00001d50| 6e 6e 69 6e 67 2d 6f 66 | 2d 6c 69 6e 65 20 6f 70 |nning-of|-line op|
|00001d60| 65 6e 2d 6c 69 6e 65 20 | 31 20 69 6e 73 65 72 74 |en-line |1 insert|
|00001d70| 20 22 3a 22 20 6e 65 78 | 74 2d 6c 69 6e 65 20 65 | ":" nex|t-line e|
|00001d80| 6e 64 2d 6f 66 2d 6c 69 | 6e 65 20 61 64 61 2d 6e |nd-of-li|ne ada-n|
|00001d90| 65 77 6c 69 6e 65 20 22 | 62 65 67 69 6e 22 20 22 |ewline "|begin" "|
|00001da0| 65 6e 64 3b 22 20 22 65 | 6e 64 20 22 20 22 3b 22 |end;" "e|nd " ";"|
|00001db0| 20 2d 32 20 61 64 61 2d | 74 61 62 5d 20 31 36 29 | -2 ada-|tab] 16)|
|00001dc0| 29 0a 0a 28 64 65 66 75 | 6e 20 61 64 61 2d 65 78 |)..(defu|n ada-ex|
|00001dd0| 63 65 70 74 69 6f 6e 2d | 62 6c 6f 63 6b 20 6e 69 |ception-|block ni|
|00001de0| 6c 20 22 5c 0a 49 6e 73 | 65 72 74 20 61 20 62 6c |l "\.Ins|ert a bl|
|00001df0| 6f 63 6b 20 77 69 74 68 | 20 61 6e 20 65 78 63 65 |ock with| an exce|
|00001e00| 70 74 69 6f 6e 20 70 61 | 72 74 20 61 6e 64 20 69 |ption pa|rt and i|
|00001e10| 6e 64 65 6e 74 20 66 6f | 72 20 74 68 65 20 31 73 |ndent fo|r the 1s|
|00001e20| 74 20 6c 69 6e 65 20 6f | 66 20 63 6f 64 65 2e 22 |t line o|f code."|
|00001e30| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 29 20 28 | (intera|ctive) (|
|00001e40| 62 79 74 65 2d 63 6f 64 | 65 20 22 c2 88 c3 c4 21 |byte-cod|e "....!|
|00001e50| 18 c5 63 88 c6 08 c7 5c | 22 3f 85 23 00 c8 20 88 |..c....\|"?.#.. .|
|00001e60| c9 ca 21 88 cb 08 cc 5c | 22 88 cd ca 21 88 ce 20 |..!....\|"...!.. |
|00001e70| 88 cf 20 88 cf 20 88 d0 | 63 88 cf 20 88 cf 20 88 |.. .. ..|c.. .. .|
|00001e80| c6 08 c7 5c 22 83 3f 00 | d1 63 82 44 00 cb d2 08 |...\".?.|.c.D....|
|00001e90| d3 23 29 88 ce d4 21 88 | d5 20 87 22 20 5b 62 6c |.#)...!.|. ." [bl|
|00001ea0| 6f 63 6b 2d 6e 61 6d 65 | 20 74 20 6e 69 6c 20 72 |ock-name| t nil r|
|00001eb0| 65 61 64 2d 73 74 72 69 | 6e 67 20 22 5b 62 6c 6f |ead-stri|ng "[blo|
|00001ec0| 63 6b 20 6e 61 6d 65 5d | 3a 20 22 20 22 62 65 67 |ck name]|: " "beg|
|00001ed0| 69 6e 22 20 73 74 72 69 | 6e 67 2d 65 71 75 61 6c |in" stri|ng-equal|
|00001ee0| 20 22 22 20 62 65 67 69 | 6e 6e 69 6e 67 2d 6f 66 | "" begi|nning-of|
|00001ef0| 2d 6c 69 6e 65 20 6f 70 | 65 6e 2d 6c 69 6e 65 20 |-line op|en-line |
|00001f00| 31 20 69 6e 73 65 72 74 | 20 22 3a 22 20 6e 65 78 |1 insert| ":" nex|
|00001f10| 74 2d 6c 69 6e 65 20 65 | 6e 64 2d 6f 66 2d 6c 69 |t-line e|nd-of-li|
|00001f20| 6e 65 20 61 64 61 2d 6e | 65 77 6c 69 6e 65 20 22 |ne ada-n|ewline "|
|00001f30| 65 78 63 65 70 74 69 6f | 6e 22 20 22 65 6e 64 3b |exceptio|n" "end;|
|00001f40| 22 20 22 65 6e 64 20 22 | 20 22 3b 22 20 2d 32 20 |" "end "| ";" -2 |
|00001f50| 61 64 61 2d 74 61 62 5d | 20 31 36 29 29 0a 0a 28 |ada-tab]| 16))..(|
|00001f60| 64 65 66 75 6e 20 61 64 | 61 2d 65 78 63 65 70 74 |defun ad|a-except|
|00001f70| 69 6f 6e 20 6e 69 6c 20 | 22 5c 0a 55 6e 64 65 6e |ion nil |"\.Unden|
|00001f80| 74 20 61 6e 64 20 69 6e | 73 65 72 74 20 61 6e 20 |t and in|sert an |
|00001f90| 65 78 63 65 70 74 69 6f | 6e 20 70 61 72 74 20 69 |exceptio|n part i|
|00001fa0| 6e 74 6f 20 61 20 62 6c | 6f 63 6b 2e 20 52 65 69 |nto a bl|ock. Rei|
|00001fb0| 6e 64 65 6e 74 2e 22 20 | 28 69 6e 74 65 72 61 63 |ndent." |(interac|
|00001fc0| 74 69 76 65 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |tive) (b|yte-code|
|00001fd0| 20 22 c0 88 c1 20 88 c2 | 63 88 c3 20 88 c4 20 87 | "... ..|c.. .. .|
|00001fe0| 22 20 5b 6e 69 6c 20 61 | 64 61 2d 75 6e 74 61 62 |" [nil a|da-untab|
|00001ff0| 20 22 65 78 63 65 70 74 | 69 6f 6e 22 20 61 64 61 | "except|ion" ada|
|00002000| 2d 6e 65 77 6c 69 6e 65 | 20 61 64 61 2d 74 61 62 |-newline| ada-tab|
|00002010| 5d 20 34 29 29 0a 0a 28 | 64 65 66 75 6e 20 61 64 |] 4))..(|defun ad|
|00002020| 61 2d 65 6c 73 65 20 6e | 69 6c 20 22 5c 0a 41 64 |a-else n|il "\.Ad|
|00002030| 64 20 61 6e 20 65 6c 73 | 65 20 63 6c 61 75 73 65 |d an els|e clause|
|00002040| 20 69 6e 73 69 64 65 20 | 61 6e 20 69 66 2d 74 68 | inside |an if-th|
|00002050| 65 6e 2d 65 6e 64 2d 69 | 66 20 63 6c 61 75 73 65 |en-end-i|f clause|
|00002060| 2e 22 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 29 |." (inte|ractive)|
|00002070| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 88 c1 | (byte-c|ode "...|
|00002080| 20 88 c2 63 88 c3 20 88 | c4 20 87 22 20 5b 6e 69 | ..c.. .|. ." [ni|
|00002090| 6c 20 61 64 61 2d 75 6e | 74 61 62 20 22 65 6c 73 |l ada-un|tab "els|
|000020a0| 65 22 20 61 64 61 2d 6e | 65 77 6c 69 6e 65 20 61 |e" ada-n|ewline a|
|000020b0| 64 61 2d 74 61 62 5d 20 | 34 29 29 0a 0a 28 64 65 |da-tab] |4))..(de|
|000020c0| 66 75 6e 20 61 64 61 2d | 65 78 69 74 20 6e 69 6c |fun ada-|exit nil|
|000020d0| 20 22 5c 0a 49 6e 73 65 | 72 74 20 61 6e 20 65 78 | "\.Inse|rt an ex|
|000020e0| 69 74 20 73 74 61 74 65 | 6d 65 6e 74 2c 20 70 72 |it state|ment, pr|
|000020f0| 6f 6d 70 74 69 6e 67 20 | 66 6f 72 20 6c 6f 6f 70 |ompting |for loop|
|00002100| 20 6e 61 6d 65 20 61 6e | 64 20 63 6f 6e 64 69 74 | name an|d condit|
|00002110| 69 6f 6e 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |ion." (i|nteracti|
|00002120| 76 65 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ve) (byt|e-code "|
|00002130| c2 88 c3 63 88 c4 c5 21 | 18 c6 08 c7 5c 22 3f 85 |...c...!|....\"?.|
|00002140| 15 00 c8 c9 08 5c 22 29 | 88 c4 ca 21 19 c6 09 c7 |.....\")|...!....|
|00002150| 5c 22 3f 85 35 00 cb cc | 09 5c 22 83 31 00 c8 c9 |\"?.5...|.\".1...|
|00002160| 09 5c 22 82 35 00 c8 cd | 09 5c 22 29 88 ce 63 87 |.\".5...|.\")..c.|
|00002170| 22 20 5b 61 64 61 2d 6c | 6f 6f 70 2d 6e 61 6d 65 |" [ada-l|oop-name|
|00002180| 20 61 64 61 2d 65 78 69 | 74 2d 63 6f 6e 64 69 74 | ada-exi|t-condit|
|00002190| 69 6f 6e 20 6e 69 6c 20 | 22 65 78 69 74 22 20 72 |ion nil |"exit" r|
|000021a0| 65 61 64 2d 73 74 72 69 | 6e 67 20 22 5b 6e 61 6d |ead-stri|ng "[nam|
|000021b0| 65 20 6f 66 20 6c 6f 6f | 70 20 74 6f 20 65 78 69 |e of loo|p to exi|
|000021c0| 74 5d 3a 20 22 20 73 74 | 72 69 6e 67 2d 65 71 75 |t]: " st|ring-equ|
|000021d0| 61 6c 20 22 22 20 69 6e | 73 65 72 74 20 22 20 22 |al "" in|sert " "|
|000021e0| 20 22 5b 65 78 69 74 20 | 63 6f 6e 64 69 74 69 6f | "[exit |conditio|
|000021f0| 6e 5d 3a 20 22 20 73 74 | 72 69 6e 67 2d 6d 61 74 |n]: " st|ring-mat|
|00002200| 63 68 20 22 5e 20 2a 5b | 57 77 5d 5b 48 68 5d 5b |ch "^ *[|Ww][Hh][|
|00002210| 45 65 5d 5b 4e 6e 5d 20 | 2b 22 20 22 20 77 68 65 |Ee][Nn] |+" " whe|
|00002220| 6e 20 22 20 22 3b 22 5d | 20 31 30 29 29 0a 0a 28 |n " ";"]| 10))..(|
|00002230| 64 65 66 75 6e 20 61 64 | 61 2d 77 68 65 6e 20 6e |defun ad|a-when n|
|00002240| 69 6c 20 22 5c 0a 53 74 | 61 72 74 20 61 20 63 61 |il "\.St|art a ca|
|00002250| 73 65 20 73 74 61 74 65 | 6d 65 6e 74 20 61 6c 74 |se state|ment alt|
|00002260| 65 72 6e 61 74 69 76 65 | 20 77 69 74 68 20 61 20 |ernative| with a |
|00002270| 77 68 65 6e 20 63 6c 61 | 75 73 65 2e 22 20 28 69 |when cla|use." (i|
|00002280| 6e 74 65 72 61 63 74 69 | 76 65 29 20 28 62 79 74 |nteracti|ve) (byt|
|00002290| 65 2d 63 6f 64 65 20 22 | c0 88 c1 20 88 c2 63 88 |e-code "|... ..c.|
|000022a0| c3 c4 c5 21 c6 5c 22 88 | c7 20 88 c8 20 87 22 20 |...!.\".|. .. ." |
|000022b0| 5b 6e 69 6c 20 61 64 61 | 2d 75 6e 74 61 62 20 22 |[nil ada|-untab "|
|000022c0| 77 68 65 6e 20 22 20 69 | 6e 73 65 72 74 20 72 65 |when " i|nsert re|
|000022d0| 61 64 2d 73 74 72 69 6e | 67 20 22 27 7c 27 2d 64 |ad-strin|g "'|'-d|
|000022e0| 65 6c 69 6d 69 74 65 64 | 20 63 68 6f 69 63 65 20 |elimited| choice |
|000022f0| 6c 69 73 74 3a 20 22 20 | 22 20 3d 3e 22 20 61 64 |list: " |" =>" ad|
|00002300| 61 2d 6e 65 77 6c 69 6e | 65 20 61 64 61 2d 74 61 |a-newlin|e ada-ta|
|00002310| 62 5d 20 36 29 29 0a 0a | 28 64 65 66 75 6e 20 61 |b] 6))..|(defun a|
|00002320| 64 61 2d 66 6f 72 2d 6c | 6f 6f 70 20 6e 69 6c 20 |da-for-l|oop nil |
|00002330| 22 5c 0a 42 75 69 6c 64 | 20 61 20 73 6b 65 6c 65 |"\.Build| a skele|
|00002340| 74 6f 6e 20 66 6f 72 2d | 6c 6f 6f 70 20 73 74 61 |ton for-|loop sta|
|00002350| 74 65 6d 65 6e 74 2c 20 | 70 72 6f 6d 70 74 69 6e |tement, |promptin|
|00002360| 67 20 66 6f 72 20 74 68 | 65 20 6c 6f 6f 70 20 70 |g for th|e loop p|
|00002370| 61 72 61 6d 65 74 65 72 | 73 2e 22 20 28 69 6e 74 |arameter|s." (int|
|00002380| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|00002390| 63 6f 64 65 20 22 c2 88 | c3 63 88 c4 c5 21 18 c6 |code "..|.c...!..|
|000023a0| 08 c7 5c 22 3f 19 09 85 | 26 00 c8 20 88 c9 ca 21 |..\"?...|&.. ...!|
|000023b0| 88 cb 08 cc 5c 22 88 cd | ca 21 88 ce ca 21 88 cb |....\"..|.!...!..|
|000023c0| c4 cf 21 d0 5c 22 88 cb | c4 d1 21 d2 5c 22 88 d3 |..!.\"..|..!.\"..|
|000023d0| 20 88 d3 20 88 d4 63 88 | 09 85 46 00 cb d5 08 5c | .. ..c.|..F....\|
|000023e0| 22 88 d6 63 2a 88 ce d7 | 21 88 d8 20 87 22 20 5b |"..c*...|!.. ." [|
|000023f0| 61 64 61 2d 6c 6f 6f 70 | 2d 6e 61 6d 65 20 61 64 |ada-loop|-name ad|
|00002400| 61 2d 6c 6f 6f 70 2d 69 | 73 2d 6e 61 6d 65 64 20 |a-loop-i|s-named |
|00002410| 6e 69 6c 20 22 66 6f 72 | 20 22 20 72 65 61 64 2d |nil "for| " read-|
|00002420| 73 74 72 69 6e 67 20 22 | 5b 6c 6f 6f 70 20 6e 61 |string "|[loop na|
|00002430| 6d 65 5d 3a 20 22 20 73 | 74 72 69 6e 67 2d 65 71 |me]: " s|tring-eq|
|00002440| 75 61 6c 20 22 22 20 62 | 65 67 69 6e 6e 69 6e 67 |ual "" b|eginning|
|00002450| 2d 6f 66 2d 6c 69 6e 65 | 20 6f 70 65 6e 2d 6c 69 |-of-line| open-li|
|00002460| 6e 65 20 31 20 69 6e 73 | 65 72 74 20 22 3a 22 20 |ne 1 ins|ert ":" |
|00002470| 6e 65 78 74 2d 6c 69 6e | 65 20 65 6e 64 2d 6f 66 |next-lin|e end-of|
|00002480| 2d 6c 69 6e 65 20 22 6c | 6f 6f 70 20 76 61 72 69 |-line "l|oop vari|
|00002490| 61 62 6c 65 3a 20 22 20 | 22 20 69 6e 20 22 20 22 |able: " |" in " "|
|000024a0| 72 61 6e 67 65 3a 20 22 | 20 22 20 6c 6f 6f 70 22 |range: "| " loop"|
|000024b0| 20 61 64 61 2d 6e 65 77 | 6c 69 6e 65 20 22 65 6e | ada-new|line "en|
|000024c0| 64 20 6c 6f 6f 70 22 20 | 22 20 22 20 22 3b 22 20 |d loop" |" " ";" |
|000024d0| 30 20 61 64 61 2d 74 61 | 62 5d 20 31 37 29 29 0a |0 ada-ta|b] 17)).|
|000024e0| 0a 28 64 65 66 75 6e 20 | 61 64 61 2d 68 65 61 64 |.(defun |ada-head|
|000024f0| 65 72 20 6e 69 6c 20 22 | 5c 0a 49 6e 73 65 72 74 |er nil "|\.Insert|
|00002500| 20 61 20 63 6f 6d 6d 65 | 6e 74 20 62 6c 6f 63 6b | a comme|nt block|
|00002510| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 74 68 65 20 | contain|ing the |
|00002520| 6d 6f 64 75 6c 65 20 74 | 69 74 6c 65 2c 20 61 75 |module t|itle, au|
|00002530| 74 68 6f 72 2c 20 65 74 | 63 2e 22 20 28 69 6e 74 |thor, et|c." (int|
|00002540| 65 72 61 63 74 69 76 65 | 29 20 28 62 79 74 65 2d |eractive|) (byte-|
|00002550| 63 6f 64 65 20 22 c0 88 | c1 63 88 c2 c3 21 63 88 |code "..|.c...!c.|
|00002560| c4 c5 c6 20 5c 22 88 c4 | c7 c8 20 5c 22 88 c4 c9 |... \"..|.. \"...|
|00002570| ca 20 cb cc 20 cd 25 87 | 22 20 5b 6e 69 6c 20 22 |. .. .%.|" [nil "|
|00002580| 2d 2d 0a 2d 2d 20 20 54 | 69 74 6c 65 3a 20 09 22 |--.-- T|itle: ."|
|00002590| 20 72 65 61 64 2d 73 74 | 72 69 6e 67 20 22 54 69 | read-st|ring "Ti|
|000025a0| 74 6c 65 3a 20 22 20 69 | 6e 73 65 72 74 20 22 0a |tle: " i|nsert ".|
|000025b0| 2d 2d 20 20 43 72 65 61 | 74 65 64 3a 09 22 20 63 |-- Crea|ted:." c|
|000025c0| 75 72 72 65 6e 74 2d 74 | 69 6d 65 2d 73 74 72 69 |urrent-t|ime-stri|
|000025d0| 6e 67 20 22 0a 2d 2d 20 | 20 41 75 74 68 6f 72 3a |ng ".-- | Author:|
|000025e0| 20 09 22 20 75 73 65 72 | 2d 66 75 6c 6c 2d 6e 61 | ." user|-full-na|
|000025f0| 6d 65 20 22 0a 2d 2d 09 | 09 3c 22 20 75 73 65 72 |me ".--.|.<" user|
|00002600| 2d 6c 6f 67 69 6e 2d 6e | 61 6d 65 20 22 40 22 20 |-login-n|ame "@" |
|00002610| 73 79 73 74 65 6d 2d 6e | 61 6d 65 20 22 3e 0a 2d |system-n|ame ">.-|
|00002620| 2d 0a 22 5d 20 31 33 29 | 29 0a 0a 28 64 65 66 75 |-."] 13)|)..(defu|
|00002630| 6e 20 61 64 61 2d 69 66 | 20 6e 69 6c 20 22 5c 0a |n ada-if| nil "\.|
|00002640| 49 6e 73 65 72 74 20 73 | 6b 65 6c 65 74 6f 6e 20 |Insert s|keleton |
|00002650| 69 66 20 73 74 61 74 6d | 65 6e 74 2c 20 70 72 6f |if statm|ent, pro|
|00002660| 6d 70 74 69 6e 67 20 66 | 6f 72 20 61 20 62 6f 6f |mpting f|or a boo|
|00002670| 6c 65 61 6e 2d 65 78 70 | 72 65 73 73 69 6f 6e 2e |lean-exp|ression.|
|00002680| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 20 |" (inter|active) |
|00002690| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 88 c1 63 |(byte-co|de "...c|
|000026a0| 88 c2 c3 c4 21 c5 5c 22 | 88 c6 20 88 c6 20 88 c7 |....!.\"|.. .. ..|
|000026b0| 63 88 c8 c9 21 88 ca 20 | 87 22 20 5b 6e 69 6c 20 |c...!.. |." [nil |
|000026c0| 22 69 66 20 22 20 69 6e | 73 65 72 74 20 72 65 61 |"if " in|sert rea|
|000026d0| 64 2d 73 74 72 69 6e 67 | 20 22 63 6f 6e 64 69 74 |d-string| "condit|
|000026e0| 69 6f 6e 3a 20 22 20 22 | 20 74 68 65 6e 22 20 61 |ion: " "| then" a|
|000026f0| 64 61 2d 6e 65 77 6c 69 | 6e 65 20 22 65 6e 64 20 |da-newli|ne "end |
|00002700| 69 66 3b 22 20 65 6e 64 | 2d 6f 66 2d 6c 69 6e 65 |if;" end|-of-line|
|00002710| 20 30 20 61 64 61 2d 74 | 61 62 5d 20 37 29 29 0a | 0 ada-t|ab] 7)).|
|00002720| 0a 28 64 65 66 75 6e 20 | 61 64 61 2d 65 6c 73 69 |.(defun |ada-elsi|
|00002730| 66 20 6e 69 6c 20 22 5c | 0a 41 64 64 20 61 6e 20 |f nil "\|.Add an |
|00002740| 65 6c 73 69 66 20 63 6c | 61 75 73 65 20 74 6f 20 |elsif cl|ause to |
|00002750| 61 6e 20 69 66 20 73 74 | 61 74 65 6d 65 6e 74 2c |an if st|atement,|
|00002760| 20 70 72 6f 6d 70 74 69 | 6e 67 20 66 6f 72 20 74 | prompti|ng for t|
|00002770| 68 65 20 62 6f 6f 6c 65 | 61 6e 2d 65 78 70 72 65 |he boole|an-expre|
|00002780| 73 73 69 6f 6e 2e 22 20 | 28 69 6e 74 65 72 61 63 |ssion." |(interac|
|00002790| 74 69 76 65 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |tive) (b|yte-code|
|000027a0| 20 22 c0 88 c1 20 88 c2 | 63 88 c3 c4 c5 21 c6 5c | "... ..|c....!.\|
|000027b0| 22 88 c7 20 88 c8 20 87 | 22 20 5b 6e 69 6c 20 61 |".. .. .|" [nil a|
|000027c0| 64 61 2d 75 6e 74 61 62 | 20 22 65 6c 73 69 66 20 |da-untab| "elsif |
|000027d0| 22 20 69 6e 73 65 72 74 | 20 72 65 61 64 2d 73 74 |" insert| read-st|
|000027e0| 72 69 6e 67 20 22 63 6f | 6e 64 69 74 69 6f 6e 3a |ring "co|ndition:|
|000027f0| 20 22 20 22 20 74 68 65 | 6e 22 20 61 64 61 2d 6e | " " the|n" ada-n|
|00002800| 65 77 6c 69 6e 65 20 61 | 64 61 2d 74 61 62 5d 20 |ewline a|da-tab] |
|00002810| 36 29 29 0a 0a 28 64 65 | 66 75 6e 20 61 64 61 2d |6))..(de|fun ada-|
|00002820| 6c 6f 6f 70 20 6e 69 6c | 20 22 5c 0a 69 6e 73 65 |loop nil| "\.inse|
|00002830| 72 74 20 61 20 73 6b 65 | 6c 65 74 6f 6e 20 6c 6f |rt a ske|leton lo|
|00002840| 6f 70 20 73 74 61 74 65 | 6d 65 6e 74 2e 20 20 65 |op state|ment. e|
|00002850| 78 69 74 20 73 74 61 74 | 65 6d 65 6e 74 20 61 64 |xit stat|ement ad|
|00002860| 64 65 64 20 62 79 20 68 | 61 6e 64 2e 22 20 28 69 |ded by h|and." (i|
|00002870| 6e 74 65 72 61 63 74 69 | 76 65 29 20 28 62 79 74 |nteracti|ve) (byt|
|00002880| 65 2d 63 6f 64 65 20 22 | c2 88 c3 63 88 c4 c5 21 |e-code "|...c...!|
|00002890| 18 c6 08 c7 5c 22 3f 19 | 09 85 26 00 c8 20 88 c9 |....\"?.|..&.. ..|
|000028a0| ca 21 88 cb 08 cc 5c 22 | 88 cd ca 21 88 ce ca 21 |.!....\"|...!...!|
|000028b0| 88 cf 20 88 cf 20 88 d0 | 63 88 09 85 38 00 cb d1 |.. .. ..|c...8...|
|000028c0| 08 5c 22 88 d2 63 2a 88 | ce d3 21 88 d4 20 87 22 |.\"..c*.|..!.. ."|
|000028d0| 20 5b 61 64 61 2d 6c 6f | 6f 70 2d 6e 61 6d 65 20 | [ada-lo|op-name |
|000028e0| 61 64 61 2d 6c 6f 6f 70 | 2d 69 73 2d 6e 61 6d 65 |ada-loop|-is-name|
|000028f0| 64 20 6e 69 6c 20 22 6c | 6f 6f 70 20 22 20 72 65 |d nil "l|oop " re|
|00002900| 61 64 2d 73 74 72 69 6e | 67 20 22 5b 6c 6f 6f 70 |ad-strin|g "[loop|
|00002910| 20 6e 61 6d 65 5d 3a 20 | 22 20 73 74 72 69 6e 67 | name]: |" string|
|00002920| 2d 65 71 75 61 6c 20 22 | 22 20 62 65 67 69 6e 6e |-equal "|" beginn|
|00002930| 69 6e 67 2d 6f 66 2d 6c | 69 6e 65 20 6f 70 65 6e |ing-of-l|ine open|
|00002940| 2d 6c 69 6e 65 20 31 20 | 69 6e 73 65 72 74 20 22 |-line 1 |insert "|
|00002950| 3a 22 20 66 6f 72 77 61 | 72 64 2d 6c 69 6e 65 20 |:" forwa|rd-line |
|00002960| 65 6e 64 2d 6f 66 2d 6c | 69 6e 65 20 61 64 61 2d |end-of-l|ine ada-|
|00002970| 6e 65 77 6c 69 6e 65 20 | 22 65 6e 64 20 6c 6f 6f |newline |"end loo|
|00002980| 70 22 20 22 20 22 20 22 | 3b 22 20 30 20 61 64 61 |p" " " "|;" 0 ada|
|00002990| 2d 74 61 62 5d 20 31 33 | 29 29 0a 0a 28 64 65 66 |-tab] 13|))..(def|
|000029a0| 75 6e 20 61 64 61 2d 70 | 61 63 6b 61 67 65 2d 73 |un ada-p|ackage-s|
|000029b0| 70 65 63 20 6e 69 6c 20 | 22 5c 0a 49 6e 73 65 72 |pec nil |"\.Inser|
|000029c0| 74 20 61 20 73 6b 65 6c | 65 74 6f 6e 20 70 61 63 |t a skel|eton pac|
|000029d0| 6b 61 67 65 20 73 70 65 | 63 69 66 69 63 61 74 69 |kage spe|cificati|
|000029e0| 6f 6e 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |on." (in|teractiv|
|000029f0| 65 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c1 |e) (byte|-code ".|
|00002a00| 88 c2 63 88 c3 c4 21 18 | c5 08 c6 5c 22 88 c7 20 |..c...!.|...\".. |
|00002a10| 88 c7 20 88 c5 c8 08 c9 | 23 88 ca cb 21 88 cc 20 |.. .....|#...!.. |
|00002a20| 29 87 22 20 5b 61 64 61 | 2d 70 61 63 6b 61 67 65 |)." [ada|-package|
|00002a30| 2d 6e 61 6d 65 20 6e 69 | 6c 20 22 70 61 63 6b 61 |-name ni|l "packa|
|00002a40| 67 65 20 22 20 72 65 61 | 64 2d 73 74 72 69 6e 67 |ge " rea|d-string|
|00002a50| 20 22 70 61 63 6b 61 67 | 65 20 6e 61 6d 65 3a 20 | "packag|e name: |
|00002a60| 22 20 69 6e 73 65 72 74 | 20 22 20 69 73 22 20 61 |" insert| " is" a|
|00002a70| 64 61 2d 6e 65 77 6c 69 | 6e 65 20 22 65 6e 64 20 |da-newli|ne "end |
|00002a80| 22 20 22 3b 22 20 65 6e | 64 2d 6f 66 2d 6c 69 6e |" ";" en|d-of-lin|
|00002a90| 65 20 30 20 61 64 61 2d | 74 61 62 5d 20 38 29 29 |e 0 ada-|tab] 8))|
|00002aa0| 0a 0a 28 64 65 66 75 6e | 20 61 64 61 2d 70 61 63 |..(defun| ada-pac|
|00002ab0| 6b 61 67 65 2d 62 6f 64 | 79 20 6e 69 6c 20 22 5c |kage-bod|y nil "\|
|00002ac0| 0a 49 6e 73 65 72 74 20 | 61 20 73 6b 65 6c 65 74 |.Insert |a skelet|
|00002ad0| 6f 6e 20 70 61 63 6b 61 | 67 65 20 62 6f 64 79 20 |on packa|ge body |
|00002ae0| 2d 2d 20 20 69 6e 63 6c | 75 64 65 73 20 61 20 62 |-- incl|udes a b|
|00002af0| 65 67 69 6e 20 73 74 61 | 74 65 6d 65 6e 74 2e 22 |egin sta|tement."|
|00002b00| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 29 20 28 | (intera|ctive) (|
|00002b10| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 88 c2 63 88 |byte-cod|e "...c.|
|00002b20| c3 c4 21 18 c5 08 c6 5c | 22 88 c7 20 88 c7 20 88 |..!....\|".. .. .|
|00002b30| c8 63 88 c7 20 88 c5 c9 | 08 ca 23 88 cb cc 21 88 |.c.. ...|..#...!.|
|00002b40| cd 20 29 87 22 20 5b 61 | 64 61 2d 70 61 63 6b 61 |. )." [a|da-packa|
|00002b50| 67 65 2d 6e 61 6d 65 20 | 6e 69 6c 20 22 70 61 63 |ge-name |nil "pac|
|00002b60| 6b 61 67 65 20 62 6f 64 | 79 20 22 20 72 65 61 64 |kage bod|y " read|
|00002b70| 2d 73 74 72 69 6e 67 20 | 22 70 61 63 6b 61 67 65 |-string |"package|
|00002b80| 20 6e 61 6d 65 3a 20 22 | 20 69 6e 73 65 72 74 20 | name: "| insert |
|00002b90| 22 20 69 73 22 20 61 64 | 61 2d 6e 65 77 6c 69 6e |" is" ad|a-newlin|
|00002ba0| 65 20 22 62 65 67 69 6e | 22 20 22 65 6e 64 20 22 |e "begin|" "end "|
|00002bb0| 20 22 3b 22 20 65 6e 64 | 2d 6f 66 2d 6c 69 6e 65 | ";" end|-of-line|
|00002bc0| 20 2d 31 20 61 64 61 2d | 74 61 62 5d 20 39 29 29 | -1 ada-|tab] 9))|
|00002bd0| 0a 0a 28 64 65 66 75 6e | 20 61 64 61 2d 70 72 69 |..(defun| ada-pri|
|00002be0| 76 61 74 65 20 6e 69 6c | 20 22 5c 0a 55 6e 64 65 |vate nil| "\.Unde|
|00002bf0| 6e 74 20 61 6e 64 20 73 | 74 61 72 74 20 61 20 70 |nt and s|tart a p|
|00002c00| 72 69 76 61 74 65 20 73 | 65 63 74 69 6f 6e 20 6f |rivate s|ection o|
|00002c10| 66 20 61 20 70 61 63 6b | 61 67 65 20 73 70 65 63 |f a pack|age spec|
|00002c20| 2e 20 52 65 69 6e 64 65 | 6e 74 2e 22 20 28 69 6e |. Reinde|nt." (in|
|00002c30| 74 65 72 61 63 74 69 76 | 65 29 20 28 62 79 74 65 |teractiv|e) (byte|
|00002c40| 2d 63 6f 64 65 20 22 c0 | 88 c1 20 88 c2 63 88 c3 |-code ".|.. ..c..|
|00002c50| 20 88 c4 20 87 22 20 5b | 6e 69 6c 20 61 64 61 2d | .. ." [|nil ada-|
|00002c60| 75 6e 74 61 62 20 22 70 | 72 69 76 61 74 65 22 20 |untab "p|rivate" |
|00002c70| 61 64 61 2d 6e 65 77 6c | 69 6e 65 20 61 64 61 2d |ada-newl|ine ada-|
|00002c80| 74 61 62 5d 20 34 29 29 | 0a 0a 28 64 65 66 75 6e |tab] 4))|..(defun|
|00002c90| 20 61 64 61 2d 67 65 74 | 2d 61 72 67 2d 6c 69 73 | ada-get|-arg-lis|
|00002ca0| 74 20 6e 69 6c 20 22 5c | 0a 52 65 61 64 20 66 72 |t nil "\|.Read fr|
|00002cb0| 6f 6d 20 75 73 65 72 20 | 61 20 70 72 6f 63 65 64 |om user |a proced|
|00002cc0| 75 72 65 20 6f 72 20 66 | 75 6e 63 74 69 6f 6e 20 |ure or f|unction |
|00002cd0| 61 72 67 75 6d 65 6e 74 | 20 6c 69 73 74 2e 0a 41 |argument| list..A|
|00002ce0| 64 64 20 70 61 72 65 6e | 73 20 75 6e 6c 65 73 73 |dd paren|s unless|
|00002cf0| 20 61 72 67 75 6d 65 6e | 74 73 20 61 62 73 65 6e | argumen|ts absen|
|00002d00| 74 2c 20 61 6e 64 20 69 | 6e 73 65 72 74 20 69 6e |t, and i|nsert in|
|00002d10| 74 6f 20 62 75 66 66 65 | 72 2e 0a 49 6e 64 69 76 |to buffe|r..Indiv|
|00002d20| 69 64 75 61 6c 20 61 72 | 67 75 6d 65 6e 74 73 20 |idual ar|guments |
|00002d30| 61 72 65 20 61 72 72 61 | 6e 67 65 64 20 76 65 72 |are arra|nged ver|
|00002d40| 74 69 63 61 6c 6c 79 20 | 69 66 20 65 6e 74 65 72 |tically |if enter|
|00002d50| 65 64 20 6f 6e 65 2d 61 | 74 2d 61 2d 74 69 6d 65 |ed one-a|t-a-time|
|00002d60| 2e 0a 41 72 67 75 6d 65 | 6e 74 73 20 65 6e 64 69 |..Argume|nts endi|
|00002d70| 6e 67 20 77 69 74 68 20 | 27 3b 27 20 61 72 65 20 |ng with |';' are |
|00002d80| 70 72 65 73 75 6d 65 64 | 20 73 69 6e 67 6c 65 20 |presumed| single |
|00002d90| 61 6e 64 20 73 74 61 63 | 6b 65 64 2e 22 20 28 62 |and stac|ked." (b|
|00002da0| 79 74 65 2d 63 6f 64 65 | 20 22 c2 63 88 69 c3 c4 |yte-code| ".c.i..|
|00002db0| 21 19 18 c5 09 c6 5c 22 | 83 16 00 c7 c8 21 82 34 |!.....\"|.....!.4|
|00002dc0| 00 c9 ca 09 5c 22 85 2f | 00 09 63 88 cb 20 88 08 |....\"./|..c.. ..|
|00002dd0| 6a 88 c3 cc 21 89 11 88 | 82 16 00 88 cd 09 ce 5c |j...!...|.......\|
|00002de0| 22 2a 87 22 20 5b 61 64 | 61 2d 61 72 67 2d 69 6e |"*." [ad|a-arg-in|
|00002df0| 64 65 6e 74 20 61 64 61 | 2d 61 72 67 73 20 22 20 |dent ada|-args " |
|00002e00| 28 22 20 72 65 61 64 2d | 73 74 72 69 6e 67 20 22 |(" read-|string "|
|00002e10| 5b 61 72 67 75 6d 65 6e | 74 73 5d 3a 20 22 20 73 |[argumen|ts]: " s|
|00002e20| 74 72 69 6e 67 2d 65 71 | 75 61 6c 20 22 22 20 62 |tring-eq|ual "" b|
|00002e30| 61 63 6b 77 61 72 64 2d | 64 65 6c 65 74 65 2d 63 |ackward-|delete-c|
|00002e40| 68 61 72 20 32 20 73 74 | 72 69 6e 67 2d 6d 61 74 |har 2 st|ring-mat|
|00002e50| 63 68 20 22 3b 24 22 20 | 6e 65 77 6c 69 6e 65 20 |ch ";$" |newline |
|00002e60| 22 6e 65 78 74 20 61 72 | 67 75 6d 65 6e 74 3a 20 |"next ar|gument: |
|00002e70| 22 20 69 6e 73 65 72 74 | 20 22 29 22 5d 20 39 29 |" insert| ")"] 9)|
|00002e80| 29 0a 0a 28 64 65 66 75 | 6e 20 61 64 61 2d 66 75 |)..(defu|n ada-fu|
|00002e90| 6e 63 74 69 6f 6e 2d 73 | 70 65 63 20 6e 69 6c 20 |nction-s|pec nil |
|00002ea0| 22 5c 0a 49 6e 73 65 72 | 74 20 61 20 66 75 6e 63 |"\.Inser|t a func|
|00002eb0| 74 69 6f 6e 20 73 70 65 | 63 69 66 69 63 61 74 69 |tion spe|cificati|
|00002ec0| 6f 6e 2e 20 20 50 72 6f | 6d 70 74 73 20 66 6f 72 |on. Pro|mpts for|
|00002ed0| 20 6e 61 6d 65 20 61 6e | 64 20 61 72 67 75 6d 65 | name an|d argume|
|00002ee0| 6e 74 73 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |nts." (i|nteracti|
|00002ef0| 76 65 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ve) (byt|e-code "|
|00002f00| c0 88 c1 63 88 c2 c3 21 | 63 88 c4 20 88 c5 63 88 |...c...!|c.. ..c.|
|00002f10| c2 c6 21 63 87 22 20 5b | 6e 69 6c 20 22 66 75 6e |..!c." [|nil "fun|
|00002f20| 63 74 69 6f 6e 20 22 20 | 72 65 61 64 2d 73 74 72 |ction " |read-str|
|00002f30| 69 6e 67 20 22 66 75 6e | 63 74 69 6f 6e 20 6e 61 |ing "fun|ction na|
|00002f40| 6d 65 3a 20 22 20 61 64 | 61 2d 67 65 74 2d 61 72 |me: " ad|a-get-ar|
|00002f50| 67 2d 6c 69 73 74 20 22 | 20 72 65 74 75 72 6e 20 |g-list "| return |
|00002f60| 22 20 22 72 65 73 75 6c | 74 20 74 79 70 65 3a 20 |" "resul|t type: |
|00002f70| 22 5d 20 34 29 29 0a 0a | 28 64 65 66 75 6e 20 61 |"] 4))..|(defun a|
|00002f80| 64 61 2d 70 72 6f 63 65 | 64 75 72 65 2d 73 70 65 |da-proce|dure-spe|
|00002f90| 63 20 6e 69 6c 20 22 5c | 0a 49 6e 73 65 72 74 20 |c nil "\|.Insert |
|00002fa0| 61 20 70 72 6f 63 65 64 | 75 72 65 20 73 70 65 63 |a proced|ure spec|
|00002fb0| 69 66 69 63 61 74 69 6f | 6e 2c 20 70 72 6f 6d 70 |ificatio|n, promp|
|00002fc0| 74 69 6e 67 20 66 6f 72 | 20 69 74 73 20 6e 61 6d |ting for| its nam|
|00002fd0| 65 20 61 6e 64 20 61 72 | 67 75 6d 65 6e 74 73 2e |e and ar|guments.|
|00002fe0| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 20 |" (inter|active) |
|00002ff0| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 88 c1 63 |(byte-co|de "...c|
|00003000| 88 c2 c3 21 63 88 c4 20 | 87 22 20 5b 6e 69 6c 20 |...!c.. |." [nil |
|00003010| 22 70 72 6f 63 65 64 75 | 72 65 20 22 20 72 65 61 |"procedu|re " rea|
|00003020| 64 2d 73 74 72 69 6e 67 | 20 22 70 72 6f 63 65 64 |d-string| "proced|
|00003030| 75 72 65 20 6e 61 6d 65 | 3a 20 22 20 61 64 61 2d |ure name|: " ada-|
|00003040| 67 65 74 2d 61 72 67 2d | 6c 69 73 74 5d 20 33 29 |get-arg-|list] 3)|
|00003050| 29 0a 0a 28 64 65 66 75 | 6e 20 67 65 74 2d 61 64 |)..(defu|n get-ad|
|00003060| 61 2d 73 75 62 70 72 6f | 67 72 61 6d 2d 6e 61 6d |a-subpro|gram-nam|
|00003070| 65 20 6e 69 6c 20 22 5c | 0a 52 65 74 75 72 6e 20 |e nil "\|.Return |
|00003080| 28 77 69 74 68 6f 75 74 | 20 6d 6f 76 69 6e 67 20 |(without| moving |
|00003090| 70 6f 69 6e 74 20 6f 72 | 20 6d 61 72 6b 29 20 61 |point or| mark) a|
|000030a0| 20 70 61 69 72 20 77 68 | 6f 73 65 20 43 41 52 20 | pair wh|ose CAR |
|000030b0| 69 73 0a 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |is.the n|ame of t|
|000030c0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 6f 72 20 70 |he funct|ion or p|
|000030d0| 72 6f 63 65 64 75 72 65 | 20 77 68 6f 73 65 20 73 |rocedure| whose s|
|000030e0| 70 65 63 20 69 6d 6d 65 | 64 69 61 74 65 6c 79 20 |pec imme|diately |
|000030f0| 70 72 65 63 65 64 65 73 | 20 70 6f 69 6e 74 2c 0a |precedes| point,.|
|00003100| 61 6e 64 20 77 68 6f 73 | 65 20 43 44 52 20 69 73 |and whos|e CDR is|
|00003110| 20 74 68 65 20 63 6f 6c | 75 6d 6e 20 6e 62 72 20 | the col|umn nbr |
|00003120| 74 68 65 20 70 72 6f 63 | 65 64 75 72 65 2f 66 75 |the proc|edure/fu|
|00003130| 6e 63 74 69 6f 6e 20 6b | 65 79 77 6f 72 64 20 77 |nction k|eyword w|
|00003140| 61 73 20 66 6f 75 6e 64 | 20 61 74 2e 22 20 28 62 |as found| at." (b|
|00003150| 79 74 65 2d 63 6f 64 65 | 20 22 8a c4 18 c5 c6 c1 |yte-code| "......|
|00003160| c2 23 83 34 00 c7 c8 21 | 86 14 00 c7 c9 21 83 2f |.#.4...!|.....!./|
|00003170| 00 69 89 10 88 ca cb 21 | 88 60 1b ca cc 21 88 cd |.i.....!|.`...!..|
|00003180| 60 0b 5c 22 08 42 29 82 | 31 00 ce 20 82 37 00 cf |`.\".B).|1.. .7..|
|00003190| 08 42 29 29 87 22 20 5b | 61 64 61 2d 70 72 6f 63 |.B))." [|ada-proc|
|000031a0| 2d 69 6e 64 65 6e 74 20 | 6e 69 6c 20 74 20 70 32 |-indent |nil t p2|
|000031b0| 20 30 20 72 65 2d 73 65 | 61 72 63 68 2d 62 61 63 | 0 re-se|arch-bac|
|000031c0| 6b 77 61 72 64 20 22 5b | 50 70 46 66 5d 5b 52 72 |kward "[|PpFf][Rr|
|000031d0| 55 75 5d 5b 4f 6f 4e 6e | 5d 5b 43 63 5d 5b 45 65 |Uu][OoNn|][Cc][Ee|
|000031e0| 54 74 5d 5b 44 64 49 69 | 5d 5b 55 75 4f 6f 5d 5b |Tt][DdIi|][UuOo][|
|000031f0| 52 72 4e 6e 5d 22 20 6c | 6f 6f 6b 69 6e 67 2d 61 |RrNn]" l|ooking-a|
|00003200| 74 20 22 5c 5c 3c 5b 50 | 70 5d 5b 52 72 5d 5b 4f |t "\\<[P|p][Rr][O|
|00003210| 6f 5d 5b 43 63 5d 5b 45 | 65 5d 5b 44 64 5d 5b 55 |o][Cc][E|e][Dd][U|
|00003220| 75 5d 5b 52 72 5d 5b 45 | 65 5d 5c 5c 3e 22 20 22 |u][Rr][E|e]\\>" "|
|00003230| 5c 5c 3c 5b 46 66 5d 5b | 55 75 5d 5b 4e 6e 5d 5b |\\<[Ff][|Uu][Nn][|
|00003240| 43 63 5d 5b 54 74 5d 5b | 49 69 5d 5b 4f 6f 5d 5b |Cc][Tt][|Ii][Oo][|
|00003250| 4e 6e 5d 5c 5c 3e 22 20 | 66 6f 72 77 61 72 64 2d |Nn]\\>" |forward-|
|00003260| 77 6f 72 64 20 32 20 2d | 31 20 62 75 66 66 65 72 |word 2 -|1 buffer|
|00003270| 2d 73 75 62 73 74 72 69 | 6e 67 20 67 65 74 2d 61 |-substri|ng get-a|
|00003280| 64 61 2d 73 75 62 70 72 | 6f 67 72 61 6d 2d 6e 61 |da-subpr|ogram-na|
|00003290| 6d 65 20 22 4e 41 4d 45 | 3f 22 5d 20 39 29 29 0a |me "NAME|?"] 9)).|
|000032a0| 0a 28 64 65 66 75 6e 20 | 61 64 61 2d 73 75 62 70 |.(defun |ada-subp|
|000032b0| 72 6f 67 72 61 6d 2d 62 | 6f 64 79 20 6e 69 6c 20 |rogram-b|ody nil |
|000032c0| 22 5c 0a 49 6e 73 65 72 | 74 20 66 72 61 6d 65 20 |"\.Inser|t frame |
|000032d0| 66 6f 72 20 73 75 62 70 | 72 6f 67 72 61 6d 20 62 |for subp|rogram b|
|000032e0| 6f 64 79 2e 0a 49 6e 76 | 6f 6b 65 20 72 69 67 68 |ody..Inv|oke righ|
|000032f0| 74 20 61 66 74 65 72 20 | 61 64 61 2d 66 75 6e 63 |t after |ada-func|
|00003300| 74 69 6f 6e 2d 73 70 65 | 63 20 6f 72 20 61 64 61 |tion-spe|c or ada|
|00003310| 2d 70 72 6f 63 65 64 75 | 72 65 2d 73 70 65 63 2e |-procedu|re-spec.|
|00003320| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 20 |" (inter|active) |
|00003330| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c1 88 c2 63 |(byte-co|de "...c|
|00003340| 88 c3 20 18 c4 20 88 08 | 41 6a 88 c5 20 88 c6 63 |.. .. ..|Aj.. ..c|
|00003350| 88 c5 20 88 c5 20 88 c7 | c8 08 40 c9 23 29 88 ca |.. .. ..|..@.#)..|
|00003360| cb 21 88 cc 20 87 22 20 | 5b 61 64 61 2d 73 75 62 |.!.. ." |[ada-sub|
|00003370| 70 72 6f 67 72 61 6d 2d | 6e 61 6d 65 2d 63 6f 6c |program-|name-col|
|00003380| 20 6e 69 6c 20 22 20 69 | 73 22 20 67 65 74 2d 61 | nil " i|s" get-a|
|00003390| 64 61 2d 73 75 62 70 72 | 6f 67 72 61 6d 2d 6e 61 |da-subpr|ogram-na|
|000033a0| 6d 65 20 6e 65 77 6c 69 | 6e 65 20 61 64 61 2d 6e |me newli|ne ada-n|
|000033b0| 65 77 6c 69 6e 65 20 22 | 62 65 67 69 6e 22 20 69 |ewline "|begin" i|
|000033c0| 6e 73 65 72 74 20 22 65 | 6e 64 20 22 20 22 3b 22 |nsert "e|nd " ";"|
|000033d0| 20 65 6e 64 2d 6f 66 2d | 6c 69 6e 65 20 2d 32 20 | end-of-|line -2 |
|000033e0| 61 64 61 2d 74 61 62 5d | 20 39 29 29 0a 0a 28 64 |ada-tab]| 9))..(d|
|000033f0| 65 66 75 6e 20 61 64 61 | 2d 73 65 70 61 72 61 74 |efun ada|-separat|
|00003400| 65 20 6e 69 6c 20 22 5c | 0a 46 69 6e 69 73 68 20 |e nil "\|.Finish |
|00003410| 61 20 62 6f 64 79 20 73 | 74 75 62 20 77 69 74 68 |a body s|tub with|
|00003420| 20 27 69 73 20 73 65 70 | 61 72 61 74 65 27 2e 22 | 'is sep|arate'."|
|00003430| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 29 20 28 | (intera|ctive) (|
|00003440| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 88 c1 63 88 |byte-cod|e "...c.|
|00003450| c2 20 88 c3 20 88 c4 63 | 88 c2 20 88 c5 20 87 22 |. .. ..c|.. .. ."|
|00003460| 20 5b 6e 69 6c 20 22 20 | 69 73 22 20 61 64 61 2d | [nil " |is" ada-|
|00003470| 6e 65 77 6c 69 6e 65 20 | 61 64 61 2d 74 61 62 20 |newline |ada-tab |
|00003480| 22 73 65 70 61 72 61 74 | 65 3b 22 20 61 64 61 2d |"separat|e;" ada-|
|00003490| 75 6e 74 61 62 5d 20 35 | 29 29 0a 0a 28 64 65 66 |untab] 5|))..(def|
|000034a0| 75 6e 20 61 64 61 2d 72 | 65 63 6f 72 64 20 6e 69 |un ada-r|ecord ni|
|000034b0| 6c 20 22 5c 0a 49 6e 73 | 65 72 74 20 61 20 73 6b |l "\.Ins|ert a sk|
|000034c0| 65 6c 65 74 6f 6e 20 72 | 65 63 6f 72 64 20 74 79 |eleton r|ecord ty|
|000034d0| 70 65 20 64 65 63 6c 61 | 72 61 74 69 6f 6e 2e 22 |pe decla|ration."|
|000034e0| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 29 20 28 | (intera|ctive) (|
|000034f0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 88 c1 63 88 |byte-cod|e "...c.|
|00003500| c2 20 88 c2 20 88 c3 63 | 88 c4 c5 21 88 c6 20 87 |. .. ..c|...!.. .|
|00003510| 22 20 5b 6e 69 6c 20 22 | 72 65 63 6f 72 64 22 20 |" [nil "|record" |
|00003520| 61 64 61 2d 6e 65 77 6c | 69 6e 65 20 22 65 6e 64 |ada-newl|ine "end|
|00003530| 20 72 65 63 6f 72 64 3b | 22 20 65 6e 64 2d 6f 66 | record;|" end-of|
|00003540| 2d 6c 69 6e 65 20 30 20 | 61 64 61 2d 74 61 62 5d |-line 0 |ada-tab]|
|00003550| 20 35 29 29 0a 0a 28 64 | 65 66 75 6e 20 61 64 61 | 5))..(d|efun ada|
|00003560| 2d 73 75 62 74 79 70 65 | 20 6e 69 6c 20 22 5c 0a |-subtype| nil "\.|
|00003570| 53 74 61 72 74 20 69 6e | 73 65 72 74 69 6f 6e 20 |Start in|sertion |
|00003580| 6f 66 20 61 20 73 75 62 | 74 79 70 65 20 64 65 63 |of a sub|type dec|
|00003590| 6c 61 72 61 74 69 6f 6e | 2c 20 70 72 6f 6d 70 74 |laration|, prompt|
|000035a0| 69 6e 67 20 66 6f 72 20 | 74 68 65 20 73 75 62 74 |ing for |the subt|
|000035b0| 79 70 65 20 6e 61 6d 65 | 2e 22 20 28 69 6e 74 65 |ype name|." (inte|
|000035c0| 72 61 63 74 69 76 65 29 | 20 28 62 79 74 65 2d 63 |ractive)| (byte-c|
|000035d0| 6f 64 65 20 22 c0 88 c1 | c2 c3 c4 21 c5 23 88 c6 |ode "...|...!.#..|
|000035e0| 20 88 c7 c8 21 87 22 20 | 5b 6e 69 6c 20 69 6e 73 | ...!." |[nil ins|
|000035f0| 65 72 74 20 22 73 75 62 | 74 79 70 65 20 22 20 72 |ert "sub|type " r|
|00003600| 65 61 64 2d 73 74 72 69 | 6e 67 20 22 73 75 62 74 |ead-stri|ng "subt|
|00003610| 79 70 65 20 6e 61 6d 65 | 3a 20 22 20 22 20 69 73 |ype name|: " " is|
|00003620| 20 3b 22 20 62 61 63 6b | 77 61 72 64 2d 63 68 61 | ;" back|ward-cha|
|00003630| 72 20 6d 65 73 73 61 67 | 65 20 22 69 6e 73 65 72 |r messag|e "inser|
|00003640| 74 20 73 75 62 74 79 70 | 65 20 69 6e 64 69 63 61 |t subtyp|e indica|
|00003650| 74 69 6f 6e 2e 22 5d 20 | 35 29 29 0a 0a 28 64 65 |tion."] |5))..(de|
|00003660| 66 75 6e 20 61 64 61 2d | 74 79 70 65 20 6e 69 6c |fun ada-|type nil|
|00003670| 20 22 5c 0a 53 74 61 72 | 74 20 69 6e 73 65 72 74 | "\.Star|t insert|
|00003680| 69 6f 6e 20 6f 66 20 61 | 20 74 79 70 65 20 64 65 |ion of a| type de|
|00003690| 63 6c 61 72 61 74 69 6f | 6e 2c 20 70 72 6f 6d 70 |claratio|n, promp|
|000036a0| 74 69 6e 67 20 66 6f 72 | 20 74 68 65 20 74 79 70 |ting for| the typ|
|000036b0| 65 20 6e 61 6d 65 2e 22 | 20 28 69 6e 74 65 72 61 |e name."| (intera|
|000036c0| 63 74 69 76 65 29 20 28 | 62 79 74 65 2d 63 6f 64 |ctive) (|byte-cod|
|000036d0| 65 20 22 c1 88 c2 c3 c4 | c5 21 5c 22 88 c4 c6 21 |e ".....|.!\"...!|
|000036e0| 18 c7 08 c8 5c 22 3f 85 | 1a 00 c2 c9 08 ca 23 29 |....\"?.|......#)|
|000036f0| 88 cb 63 88 cc cd 21 87 | 22 20 5b 64 69 73 63 2d |..c...!.|" [disc-|
|00003700| 70 61 72 74 20 6e 69 6c | 20 69 6e 73 65 72 74 20 |part nil| insert |
|00003710| 22 74 79 70 65 20 22 20 | 72 65 61 64 2d 73 74 72 |"type " |read-str|
|00003720| 69 6e 67 20 22 74 79 70 | 65 20 6e 61 6d 65 3a 20 |ing "typ|e name: |
|00003730| 22 20 22 64 69 73 63 72 | 69 6d 69 6e 61 6e 74 20 |" "discr|iminant |
|00003740| 73 70 65 63 73 3a 20 22 | 20 73 74 72 69 6e 67 2d |specs: "| string-|
|00003750| 65 71 75 61 6c 20 22 22 | 20 22 28 22 20 22 29 22 |equal ""| "(" ")"|
|00003760| 20 22 20 69 73 20 22 20 | 6d 65 73 73 61 67 65 20 | " is " |message |
|00003770| 22 69 6e 73 65 72 74 20 | 74 79 70 65 20 64 65 66 |"insert |type def|
|00003780| 69 6e 69 74 69 6f 6e 2e | 22 5d 20 38 29 29 0a 0a |inition.|"] 8))..|
|00003790| 28 64 65 66 75 6e 20 61 | 64 61 2d 77 68 69 6c 65 |(defun a|da-while|
|000037a0| 2d 6c 6f 6f 70 20 6e 69 | 6c 20 28 69 6e 74 65 72 |-loop ni|l (inter|
|000037b0| 61 63 74 69 76 65 29 20 | 28 62 79 74 65 2d 63 6f |active) |(byte-co|
|000037c0| 64 65 20 22 c2 88 c3 63 | 88 c4 c5 21 18 c6 08 c7 |de "...c|...!....|
|000037d0| 5c 22 3f 19 09 85 26 00 | c8 20 88 c9 ca 21 88 cb |\"?...&.|. ...!..|
|000037e0| 08 cc 5c 22 88 cd ca 21 | 88 ce ca 21 88 cb c4 cf |..\"...!|...!....|
|000037f0| 21 d0 5c 22 88 d1 20 88 | d1 20 88 d2 63 88 09 85 |!.\".. .|. ..c...|
|00003800| 3f 00 cb d3 08 5c 22 88 | d4 63 2a 88 ce d5 21 88 |?....\".|.c*...!.|
|00003810| d6 20 87 22 20 5b 61 64 | 61 2d 6c 6f 6f 70 2d 6e |. ." [ad|a-loop-n|
|00003820| 61 6d 65 20 61 64 61 2d | 6c 6f 6f 70 2d 69 73 2d |ame ada-|loop-is-|
|00003830| 6e 61 6d 65 64 20 6e 69 | 6c 20 22 77 68 69 6c 65 |named ni|l "while|
|00003840| 20 22 20 72 65 61 64 2d | 73 74 72 69 6e 67 20 22 | " read-|string "|
|00003850| 6c 6f 6f 70 20 6e 61 6d | 65 3a 20 22 20 73 74 72 |loop nam|e: " str|
|00003860| 69 6e 67 2d 65 71 75 61 | 6c 20 22 22 20 62 65 67 |ing-equa|l "" beg|
|00003870| 69 6e 6e 69 6e 67 2d 6f | 66 2d 6c 69 6e 65 20 6f |inning-o|f-line o|
|00003880| 70 65 6e 2d 6c 69 6e 65 | 20 31 20 69 6e 73 65 72 |pen-line| 1 inser|
|00003890| 74 20 22 3a 22 20 6e 65 | 78 74 2d 6c 69 6e 65 20 |t ":" ne|xt-line |
|000038a0| 65 6e 64 2d 6f 66 2d 6c | 69 6e 65 20 22 65 6e 74 |end-of-l|ine "ent|
|000038b0| 72 79 20 63 6f 6e 64 69 | 74 69 6f 6e 3a 20 22 20 |ry condi|tion: " |
|000038c0| 22 20 6c 6f 6f 70 22 20 | 61 64 61 2d 6e 65 77 6c |" loop" |ada-newl|
|000038d0| 69 6e 65 20 22 65 6e 64 | 20 6c 6f 6f 70 22 20 22 |ine "end| loop" "|
|000038e0| 20 22 20 22 3b 22 20 30 | 20 61 64 61 2d 74 61 62 | " ";" 0| ada-tab|
|000038f0| 5d 20 31 35 29 29 0a 0a | 28 64 65 66 75 6e 20 61 |] 15))..|(defun a|
|00003900| 64 61 2d 70 61 69 72 65 | 64 2d 70 61 72 65 6e 73 |da-paire|d-parens|
|00003910| 20 6e 69 6c 20 22 5c 0a | 49 6e 73 65 72 74 20 61 | nil "\.|Insert a|
|00003920| 20 70 61 69 72 20 6f 66 | 20 72 6f 75 6e 64 20 70 | pair of| round p|
|00003930| 61 72 65 6e 74 68 65 73 | 65 73 2c 20 70 6c 61 63 |arenthes|es, plac|
|00003940| 69 6e 67 20 70 6f 69 6e | 74 20 62 65 74 77 65 65 |ing poin|t betwee|
|00003950| 6e 20 74 68 65 6d 2e 22 | 20 28 69 6e 74 65 72 61 |n them."| (intera|
|00003960| 63 74 69 76 65 29 20 28 | 62 79 74 65 2d 63 6f 64 |ctive) (|byte-cod|
|00003970| 65 20 22 c0 88 c1 63 88 | c2 20 87 22 20 5b 6e 69 |e "...c.|. ." [ni|
|00003980| 6c 20 22 28 29 22 20 62 | 61 63 6b 77 61 72 64 2d |l "()" b|ackward-|
|00003990| 63 68 61 72 5d 20 32 29 | 29 0a 0a 28 64 65 66 75 |char] 2)|)..(defu|
|000039a0| 6e 20 61 64 61 2d 69 6e | 6c 69 6e 65 2d 63 6f 6d |n ada-in|line-com|
|000039b0| 6d 65 6e 74 20 6e 69 6c | 20 22 5c 0a 53 74 61 72 |ment nil| "\.Star|
|000039c0| 74 20 61 20 63 6f 6d 6d | 65 6e 74 20 61 66 74 65 |t a comm|ent afte|
|000039d0| 72 20 74 68 65 20 65 6e | 64 20 6f 66 20 74 68 65 |r the en|d of the|
|000039e0| 20 6c 69 6e 65 2c 20 69 | 6e 64 65 6e 74 65 64 20 | line, i|ndented |
|000039f0| 61 74 20 6c 65 61 73 74 | 20 43 4f 4d 4d 45 4e 54 |at least| COMMENT|
|00003a00| 2d 43 4f 4c 55 4d 4e 2e | 0a 49 66 20 73 74 61 72 |-COLUMN.|.If star|
|00003a10| 74 69 6e 67 20 61 66 74 | 65 72 20 45 4e 44 2d 43 |ting aft|er END-C|
|00003a20| 4f 4d 4d 45 4e 54 2d 43 | 4f 4c 55 4d 4e 2c 20 73 |OMMENT-C|OLUMN, s|
|00003a30| 74 61 72 74 20 61 20 6e | 65 77 20 6c 69 6e 65 2e |tart a n|ew line.|
|00003a40| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 29 20 |" (inter|active) |
|00003a50| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c2 88 c3 20 |(byte-co|de "... |
|00003a60| 88 69 08 56 85 0d 00 c4 | 20 88 69 09 57 85 16 00 |.i.V....| .i.W...|
|00003a70| 09 6a 88 c5 63 87 22 20 | 5b 65 6e 64 2d 63 6f 6d |.j..c." |[end-com|
|00003a80| 6d 65 6e 74 2d 63 6f 6c | 75 6d 6e 20 63 6f 6d 6d |ment-col|umn comm|
|00003a90| 65 6e 74 2d 63 6f 6c 75 | 6d 6e 20 6e 69 6c 20 65 |ent-colu|mn nil e|
|00003aa0| 6e 64 2d 6f 66 2d 6c 69 | 6e 65 20 6e 65 77 6c 69 |nd-of-li|ne newli|
|00003ab0| 6e 65 20 22 20 2d 2d 20 | 22 5d 20 34 29 29 0a 0a |ne " -- |"] 4))..|
|00003ac0| 28 64 65 66 75 6e 20 61 | 64 61 2d 64 69 73 70 6c |(defun a|da-displ|
|00003ad0| 61 79 2d 63 6f 6d 6d 65 | 6e 74 20 6e 69 6c 20 22 |ay-comme|nt nil "|
|00003ae0| 5c 0a 49 6e 73 65 72 74 | 73 20 33 20 63 6f 6d 6d |\.Insert|s 3 comm|
|00003af0| 65 6e 74 20 6c 69 6e 65 | 73 2c 20 6d 61 6b 69 6e |ent line|s, makin|
|00003b00| 67 20 61 20 64 69 73 70 | 6c 61 79 20 63 6f 6d 6d |g a disp|lay comm|
|00003b10| 65 6e 74 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |ent." (i|nteracti|
|00003b20| 76 65 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ve) (byt|e-code "|
|00003b30| c0 88 c1 63 88 c2 c3 21 | 87 22 20 5b 6e 69 6c 20 |...c...!|." [nil |
|00003b40| 22 2d 2d 0a 2d 2d 20 0a | 2d 2d 22 20 65 6e 64 2d |"--.-- .|--" end-|
|00003b50| 6f 66 2d 6c 69 6e 65 20 | 30 5d 20 32 29 29 0a 0a |of-line |0] 2))..|
|00003b60| 28 64 65 66 76 61 72 20 | 61 64 61 2d 6c 69 62 2d |(defvar |ada-lib-|
|00003b70| 64 69 72 2d 6e 61 6d 65 | 20 22 6c 69 62 22 20 22 |dir-name| "lib" "|
|00003b80| 5c 0a 2a 43 75 72 72 65 | 6e 74 20 61 64 61 20 70 |\.*Curre|nt ada p|
|00003b90| 72 6f 67 72 61 6d 20 6c | 69 62 72 61 72 79 20 64 |rogram l|ibrary d|
|00003ba0| 69 72 65 63 74 6f 72 79 | 2e 22 29 0a 0a 28 64 65 |irectory|.")..(de|
|00003bb0| 66 76 61 72 20 61 64 61 | 2d 62 69 6e 64 2d 6f 70 |fvar ada|-bind-op|
|00003bc0| 74 73 20 22 22 20 22 5c | 0a 2a 4f 70 74 69 6f 6e |ts "" "\|.*Option|
|00003bd0| 73 20 74 6f 20 73 75 70 | 70 6c 79 20 66 6f 72 20 |s to sup|ply for |
|00003be0| 62 69 6e 64 69 6e 67 2e | 22 29 0a 0a 28 64 65 66 |binding.|")..(def|
|00003bf0| 75 6e 20 61 64 61 2d 6c | 69 62 72 61 72 79 2d 6e |un ada-l|ibrary-n|
|00003c00| 61 6d 65 20 28 61 64 61 | 2d 6c 69 62 2d 6e 61 6d |ame (ada|-lib-nam|
|00003c10| 65 29 20 22 5c 0a 53 70 | 65 63 69 66 79 20 6e 61 |e) "\.Sp|ecify na|
|00003c20| 6d 65 20 6f 66 20 61 64 | 61 20 6c 69 62 72 61 72 |me of ad|a librar|
|00003c30| 79 20 64 69 72 65 63 74 | 6f 72 79 20 66 6f 72 20 |y direct|ory for |
|00003c40| 6c 61 74 65 72 20 63 6f | 6d 70 69 6c 61 74 69 6f |later co|mpilatio|
|00003c50| 6e 73 2e 22 20 28 69 6e | 74 65 72 61 63 74 69 76 |ns." (in|teractiv|
|00003c60| 65 20 22 44 6e 61 6d 65 | 20 6f 66 20 61 64 61 20 |e "Dname| of ada |
|00003c70| 6c 69 62 72 61 72 79 20 | 64 69 72 65 63 74 6f 72 |library |director|
|00003c80| 79 3a 20 22 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |y: ") (b|yte-code|
|00003c90| 20 22 c2 88 09 89 10 87 | 22 20 5b 61 64 61 2d 6c | "......|" [ada-l|
|00003ca0| 69 62 2d 64 69 72 2d 6e | 61 6d 65 20 61 64 61 2d |ib-dir-n|ame ada-|
|00003cb0| 6c 69 62 2d 6e 61 6d 65 | 20 6e 69 6c 5d 20 32 29 |lib-name| nil] 2)|
|00003cc0| 29 0a 0a 28 64 65 66 75 | 6e 20 61 64 61 2d 6f 70 |)..(defu|n ada-op|
|00003cd0| 74 69 6f 6e 73 2d 66 6f | 72 2d 62 69 6e 64 20 6e |tions-fo|r-bind n|
|00003ce0| 69 6c 20 22 5c 0a 53 70 | 65 63 69 66 79 20 6f 70 |il "\.Sp|ecify op|
|00003cf0| 74 69 6f 6e 73 2c 20 73 | 75 63 68 20 61 73 20 2d |tions, s|uch as -|
|00003d00| 6d 20 61 6e 64 20 2d 69 | 2c 20 6e 65 65 64 65 64 |m and -i|, needed|
|00003d10| 20 66 6f 72 20 61 64 61 | 62 69 6e 64 2e 22 20 28 | for ada|bind." (|
|00003d20| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 c2 21 89 10 |byte-cod|e "..!..|
|00003d30| 87 22 20 5b 61 64 61 2d | 62 69 6e 64 2d 6f 70 74 |." [ada-|bind-opt|
|00003d40| 73 20 72 65 61 64 2d 73 | 74 72 69 6e 67 20 22 2d |s read-s|tring "-|
|00003d50| 6d 20 61 6e 64 20 2d 69 | 20 6f 70 74 69 6f 6e 73 |m and -i| options|
|00003d60| 20 66 6f 72 20 61 64 61 | 62 69 6e 64 3a 20 22 5d | for ada|bind: "]|
|00003d70| 20 33 29 29 0a 0a 28 64 | 65 66 75 6e 20 61 64 61 | 3))..(d|efun ada|
|00003d80| 2d 63 6f 6d 70 69 6c 65 | 20 28 61 64 61 2d 70 72 |-compile| (ada-pr|
|00003d90| 65 66 69 78 2d 61 72 67 | 29 20 22 5c 0a 53 61 76 |efix-arg|) "\.Sav|
|00003da0| 65 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 62 75 |e the cu|rrent bu|
|00003db0| 66 66 65 72 20 61 6e 64 | 20 63 6f 6d 70 69 6c 65 |ffer and| compile|
|00003dc0| 20 69 74 20 69 6e 74 6f | 20 74 68 65 20 63 75 72 | it into| the cur|
|00003dd0| 72 65 6e 74 20 70 72 6f | 67 72 61 6d 20 6c 69 62 |rent pro|gram lib|
|00003de0| 72 61 72 79 2e 0a 49 6e | 69 74 69 61 6c 69 7a 65 |rary..In|itialize|
|00003df0| 20 74 68 65 20 6c 69 62 | 72 61 72 79 20 69 66 20 | the lib|rary if |
|00003e00| 61 20 70 72 65 66 69 78 | 20 61 72 67 20 69 73 20 |a prefix| arg is |
|00003e10| 67 69 76 65 6e 2e 22 20 | 28 69 6e 74 65 72 61 63 |given." |(interac|
|00003e20| 74 69 76 65 20 22 50 22 | 29 20 28 62 79 74 65 2d |tive "P"|) (byte-|
|00003e30| 63 6f 64 65 20 22 c4 88 | 09 3f 83 0b 00 c5 82 0c |code "..|.?......|
|00003e40| 00 c6 18 c7 20 1a c8 c9 | ca 08 cb 0b cc 0a 26 06 |.... ...|......&.|
|00003e50| 21 2a 87 22 20 5b 61 64 | 61 2d 69 6e 69 74 20 61 |!*." [ad|a-init a|
|00003e60| 64 61 2d 70 72 65 66 69 | 78 2d 61 72 67 20 61 64 |da-prefi|x-arg ad|
|00003e70| 61 2d 73 6f 75 72 63 65 | 2d 66 69 6c 65 20 61 64 |a-source|-file ad|
|00003e80| 61 2d 6c 69 62 2d 64 69 | 72 2d 6e 61 6d 65 20 6e |a-lib-di|r-name n|
|00003e90| 69 6c 20 22 22 20 22 2d | 6e 20 22 20 62 75 66 66 |il "" "-|n " buff|
|00003ea0| 65 72 2d 6e 61 6d 65 20 | 63 6f 6d 70 69 6c 65 20 |er-name |compile |
|00003eb0| 63 6f 6e 63 61 74 20 22 | 61 64 61 63 6f 6d 70 20 |concat "|adacomp |
|00003ec0| 22 20 22 2d 6c 20 22 20 | 22 20 22 5d 20 39 29 29 |" "-l " |" "] 9))|
|00003ed0| 0a 0a 28 64 65 66 75 6e | 20 61 64 61 2d 66 69 6e |..(defun| ada-fin|
|00003ee0| 64 2d 6c 69 73 74 69 6e | 67 20 6e 69 6c 20 22 5c |d-listin|g nil "\|
|00003ef0| 0a 46 69 6e 64 20 6c 69 | 73 74 69 6e 67 20 66 69 |.Find li|sting fi|
|00003f00| 6c 65 20 66 6f 72 20 61 | 64 61 20 73 6f 75 72 63 |le for a|da sourc|
|00003f10| 65 20 69 6e 20 63 75 72 | 72 65 6e 74 20 62 75 66 |e in cur|rent buf|
|00003f20| 66 65 72 2c 20 75 73 69 | 6e 67 20 6f 74 68 65 72 |fer, usi|ng other|
|00003f30| 20 77 69 6e 64 6f 77 2e | 22 20 28 69 6e 74 65 72 | window.|" (inter|
|00003f40| 61 63 74 69 76 65 29 20 | 28 62 79 74 65 2d 63 6f |active) |(byte-co|
|00003f50| 64 65 20 22 c0 88 c1 c2 | 20 c3 c4 4f c5 50 21 88 |de "....| ..O.P!.|
|00003f60| c6 c7 21 87 22 20 5b 6e | 69 6c 20 66 69 6e 64 2d |..!." [n|il find-|
|00003f70| 66 69 6c 65 2d 6f 74 68 | 65 72 2d 77 69 6e 64 6f |file-oth|er-windo|
|00003f80| 77 20 62 75 66 66 65 72 | 2d 6e 61 6d 65 20 30 20 |w buffer|-name 0 |
|00003f90| 2d 34 20 22 2e 6c 69 73 | 22 20 73 65 61 72 63 68 |-4 ".lis|" search|
|00003fa0| 2d 66 6f 72 77 61 72 64 | 20 22 2a 2a 2a 20 45 52 |-forward| "*** ER|
|00003fb0| 52 4f 52 22 5d 20 35 29 | 29 0a 0a 28 64 65 66 75 |ROR"] 5)|)..(defu|
|00003fc0| 6e 20 61 64 61 2d 62 69 | 6e 64 20 6e 69 6c 20 22 |n ada-bi|nd nil "|
|00003fd0| 5c 0a 42 69 6e 64 20 74 | 68 65 20 63 75 72 72 65 |\.Bind t|he curre|
|00003fe0| 6e 74 20 70 72 6f 67 72 | 61 6d 20 6c 69 62 72 61 |nt progr|am libra|
|00003ff0| 72 79 2c 20 75 73 69 6e | 67 20 74 68 65 20 63 75 |ry, usin|g the cu|
|00004000| 72 72 65 6e 74 20 62 69 | 6e 64 69 6e 67 20 6f 70 |rrent bi|nding op|
|00004010| 74 69 6f 6e 73 2e 22 20 | 28 69 6e 74 65 72 61 63 |tions." |(interac|
|00004020| 74 69 76 65 29 20 28 62 | 79 74 65 2d 63 6f 64 65 |tive) (b|yte-code|
|00004030| 20 22 c2 88 c3 c4 08 c5 | 09 52 21 87 22 20 5b 61 | "......|.R!." [a|
|00004040| 64 61 2d 62 69 6e 64 2d | 6f 70 74 73 20 61 64 61 |da-bind-|opts ada|
|00004050| 2d 6c 69 62 2d 64 69 72 | 2d 6e 61 6d 65 20 6e 69 |-lib-dir|-name ni|
|00004060| 6c 20 63 6f 6d 70 69 6c | 65 20 22 61 64 61 62 69 |l compil|e "adabi|
|00004070| 6e 64 20 22 20 22 20 22 | 5d 20 35 29 29 0a 00 00 |nd " " "|] 5))...|
|00004080| 00 00 01 00 00 00 01 0a | 00 00 00 0a 00 00 00 32 |........|.......2|
|00004090| 00 02 00 00 00 50 00 00 | 8a 00 00 20 00 00 00 02 |.....P..|... ....|
|000040a0| 00 00 00 50 00 00 8a 00 | 01 20 00 00 00 02 00 00 |...P....|. ......|
|000040b0| 07 61 64 61 2e 65 6c 63 | 02 00 00 00 64 45 4c 43 |.ada.elc|....dELC|
|000040c0| 45 4d 41 43 01 00 00 00 | 01 40 00 00 00 00 14 29 |EMAC....|.@.....)|
|000040d0| 00 00 64 45 4c 43 45 4d | 41 43 01 00 00 00 01 40 |..dELCEM|AC.....@|
|000040e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000040f0| 00 00 a9 84 8b d8 00 00 | 3f fe 00 00 01 3c f6 f6 |........|?....<..|
|00004100| 00 52 5c 74 00 52 1d 3e | 00 03 bc 24 00 03 bc 34 |.R\t.R.>|...$...4|
|00004110| 00 07 8b 00 00 19 d5 8c | 00 00 d2 aa 00 52 1d 0a |........|.....R..|
|00004120| 00 02 ff 00 00 50 08 2c | 00 52 23 52 00 52 46 4e |.....P.,|.R#R.RFN|
|00004130| 20 00 00 00 55 78 04 72 | 6f 6f 74 a4 00 47 94 6c | ...Ux.r|oot..G.l|
|00004140| 51 42 00 00 00 47 8d f8 | 00 47 4e 74 00 03 aa c0 |QB...G..|.GNt....|
|00004150| 00 03 aa d0 00 07 53 2c | 00 14 59 f4 00 00 bb 5a |......S,|..Y....Z|
|00004160| 00 47 4e 40 00 02 ed 9c | 00 45 3c 24 4e f9 00 1c |.GN@....|.E<$N...|
|00004170| 60 45 72 7c 20 00 00 00 | ad 4e 00 00 00 00 00 00 |`Er| ...|.N......|
|00004180| 00 00 00 06 05 45 6d 61 | 63 73 00 00 01 00 00 00 |.....Ema|cs......|
|00004190| 01 0a 00 00 00 0a 00 00 | 00 32 00 52 6f 30 05 84 |........|.2.Ro0..|
|000041a0| 00 00 00 1c 00 32 00 00 | 53 54 52 20 00 00 00 0a |.....2..|STR ....|
|000041b0| bf f4 ff ff 00 00 00 00 | 00 58 b4 64 00 00 00 00 |........|.X.d....|
|000041c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000041f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+